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.001064/0.001064, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.395 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.813/2.813, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004128, allocations: 16 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8544, allocations: 153.8 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001701/0.8561, allocations: 1.2 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.8564, allocations: 100.6 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.8565, allocations: 4 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.8565, allocations: 3.938 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.8566, allocations: 7.938 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.8568, allocations: 11.98 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.8569, allocations: 43.84 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.857, allocations: 15.92 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.857, allocations: 11.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.8571, allocations: 15.92 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.8571, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.8572, allocations: 15.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.8572, allocations: 15.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.8573, allocations: 29.7 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.8574, allocations: 35.94 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8574, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8574, allocations: 4 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.8574, allocations: 0 / 1.024 GB, free: 14.5 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.0005748/0.858, allocations: 385 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.858, allocations: 8.562 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.8581, allocations: 7.906 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.8582, allocations: 174.9 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.8582, allocations: 11.94 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.8583, allocations: 0 / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.8585, allocations: 93.59 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8585, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.8586, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.8586, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.8589, allocations: 99.91 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.8592, allocations: 288.8 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.8595, allocations: 78.53 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.8596, allocations: 52.92 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.8599, allocations: 109.1 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.8599, allocations: 30.56 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.472e-06/0.8599, allocations: 0 / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005435/0.8604, allocations: 185.4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.8605, allocations: 55.41 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.8606, allocations: 125.8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.8606, allocations: 25.7 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.8607, allocations: 92.12 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8607, allocations: 7.906 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.8607, allocations: 3.938 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8608, allocations: 318.8 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.861, allocations: 47.95 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.8611, allocations: 51.95 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.8613, allocations: 43.97 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.8613, allocations: 3.953 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003216/0.8616, allocations: 141.5 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8617, allocations: 8 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8617, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.8617, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.8619, allocations: 19.98 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.8619, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.862, allocations: 23.92 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.862, allocations: 0 / 1.026 GB, free: 11.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.258e-05/0.8621, allocations: 117.8 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.8622, allocations: 11.86 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.8625, allocations: 141.5 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8625, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8625, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.8626, allocations: 3.984 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.8627, allocations: 177.7 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8627, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-05/0.8628, allocations: 31.92 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8629, allocations: 3.938 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.8629, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8629, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8629, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.8632, allocations: 235.8 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.8633, allocations: 81.11 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.8633, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.8634, allocations: 19.97 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.8635, allocations: 11.92 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.8635, allocations: 4 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.8635, allocations: 95.27 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8636, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002323/0.8638, allocations: 8 kB / 1.027 GB, free: 10.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000167/0.864, allocations: 119 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.8643, allocations: 99.92 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8643, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.8645, allocations: 51.95 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.8647, allocations: 11.94 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.8651, allocations: 156.6 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.8654, allocations: 0.6887 MB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.8654, allocations: 8 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.8655, allocations: 7.438 kB / 1.028 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.8655, allocations: 4 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.003247/0.8687, allocations: 0.6268 MB / 1.029 GB, free: 8.969 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches