Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.00128, allocations: 181.4 kB / 16.92 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.8 MB / 0.7128 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003629, allocations: 12 kB / 0.8735 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7747, allocations: 153.8 MB / 1.024 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001755/0.7765, allocations: 1.215 MB / 1.025 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.7769, allocations: 112.5 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.777, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.777, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.7771, allocations: 3.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.7773, allocations: 15.98 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.7774, allocations: 47.78 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.7775, allocations: 15.98 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.122e-05/0.7776, allocations: 11.98 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.7776, allocations: 23.86 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.7777, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.7777, allocations: 15.98 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.7778, allocations: 11.92 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.7778, allocations: 45.58 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.591e-05/0.7779, allocations: 39.92 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.778, allocations: 3.984 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.433e-06/0.778, allocations: 3.938 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.778, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005346/0.7785, allocations: 377.3 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7786, allocations: 8.031 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.7786, allocations: 8.844 kB / 1.026 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.7787, allocations: 176.2 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.7788, allocations: 4.375 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.7788, allocations: 8.359 kB / 1.026 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.7791, allocations: 82.16 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.7791, allocations: 192 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7791, allocations: 7.938 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.7791, allocations: 4 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.7794, allocations: 95.92 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.7798, allocations: 281 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.7801, allocations: 86.41 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.7803, allocations: 56.91 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.7805, allocations: 109 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.7805, allocations: 30.56 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.7805, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006044/0.7811, allocations: 181.6 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.7812, allocations: 55.41 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.7813, allocations: 121.8 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.7813, allocations: 25.7 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.7814, allocations: 96.06 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.7814, allocations: 11.81 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.7814, allocations: 13.72 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7816, allocations: 314.8 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.7817, allocations: 47.97 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.7819, allocations: 51.95 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.7822, allocations: 100.8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7822, allocations: 7.938 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003766/0.7826, allocations: 133.6 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7827, allocations: 4 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7827, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.7827, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.7828, allocations: 31.86 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7828, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.7829, allocations: 27.83 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.7829, allocations: 3.938 kB / 1.028 GB, free: 11.58 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.783, allocations: 122.3 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.7831, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.7835, allocations: 137.5 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.7835, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7835, allocations: 384 / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.7835, allocations: 3.984 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.7837, allocations: 181.6 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7837, allocations: 0 / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7838, allocations: 31.91 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.7838, allocations: 3.984 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.7839, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7839, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7839, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.7843, allocations: 239.3 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.7844, allocations: 81.02 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.7844, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7845, allocations: 15.98 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.7845, allocations: 7.984 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.7845, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.7846, allocations: 103.3 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7846, allocations: 4 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002281/0.7849, allocations: 8 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.785, allocations: 107.2 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.7854, allocations: 107.8 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7854, allocations: 0 / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.7856, allocations: 55.95 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.7859, allocations: 11.94 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.7863, allocations: 186.3 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.7865, allocations: 0.6848 MB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.7866, allocations: 15.44 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.7866, allocations: 0 / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of Templates: time 0.002393/0.789, allocations: 0.8897 MB / 1.031 GB, free: 8.441 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches