Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_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.001371/0.001371, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001518/0.001518, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8585, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003089/0.8616, allocations: 1.492 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.862, allocations: 103.7 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.8621, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.8622, allocations: 3.938 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.8622, allocations: 7.938 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.8625, allocations: 23.97 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.8626, allocations: 47.84 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.8627, allocations: 11.94 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.8628, allocations: 23.91 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.8628, allocations: 19.91 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.8628, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.8629, allocations: 19.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.863, allocations: 15.94 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.863, allocations: 23.86 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.8632, allocations: 59.8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8632, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8632, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.8632, allocations: 0 / 1.21 GB, free: 11.7 MB / 0.9356 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.0005446/0.8637, allocations: 373 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.8638, allocations: 11.97 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.8639, allocations: 8.844 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.864, allocations: 180.2 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.8641, allocations: 384 / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.8641, allocations: 4.375 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.8644, allocations: 78.2 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8644, allocations: 192 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.8644, allocations: 3.938 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.8644, allocations: 0 / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.8647, allocations: 75.92 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.8651, allocations: 284.9 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.8653, allocations: 70.47 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.8655, allocations: 48.91 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.8658, allocations: 109 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.8658, allocations: 30.56 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.8658, allocations: 3.938 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005813/0.8664, allocations: 149.5 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.8665, allocations: 59.39 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.8666, allocations: 122.3 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.8666, allocations: 25.7 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.8667, allocations: 104 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.8667, allocations: 7.906 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.8667, allocations: 13.72 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8669, allocations: 318.8 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.867, allocations: 31.97 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.8672, allocations: 39.95 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.8675, allocations: 80.78 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.8675, allocations: 3.938 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003879/0.8679, allocations: 117.5 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8679, allocations: 8 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.868, allocations: 7.938 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.868, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.8681, allocations: 11.98 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.8681, allocations: 4 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.8682, allocations: 11.92 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.8682, allocations: 4 kB / 1.213 GB, free: 9.113 MB / 0.9356 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 9.938e-05/0.8683, allocations: 121.8 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.8684, allocations: 4 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.8688, allocations: 121.8 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8688, allocations: 0 / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8688, allocations: 7.984 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8688, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.869, allocations: 173.6 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.869, allocations: 3.984 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.8691, allocations: 23.98 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8691, allocations: 0 / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.8691, allocations: 0 / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.8691, allocations: 4 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.8691, allocations: 0 / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.8696, allocations: 219.2 kB / 1.213 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.8696, allocations: 81.02 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8697, allocations: 7.938 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.8698, allocations: 7.984 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.8698, allocations: 7.984 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.8698, allocations: 4 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.8699, allocations: 95.27 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8699, allocations: 0 / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002364/0.8702, allocations: 12 kB / 1.213 GB, free: 8.125 MB / 0.9356 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.0001644/0.8703, allocations: 103.2 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.8707, allocations: 79.91 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8707, allocations: 4 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.8709, allocations: 47.89 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.8711, allocations: 9.969 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.8715, allocations: 175.2 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.8718, allocations: 0.6846 MB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.8719, allocations: 15.44 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8719, allocations: 0 / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.002556/0.8744, allocations: 0.8883 MB / 1.215 GB, free: 6.066 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches