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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001436/0.001436, allocations: 104.8 kB / 16.27 MB, free: 6.414 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.001367/0.001367, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.429/1.429, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 482.4 MB / 0.7553 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.53 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7345, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002604/0.7372, allocations: 1.48 MB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.7375, allocations: 101.7 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.7375, allocations: 0.9375 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.7376, allocations: 8.547 kB / 1.084 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.7376, allocations: 14.58 kB / 1.084 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.7378, allocations: 20.67 kB / 1.085 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.012e-05/0.7379, allocations: 43.91 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.738, allocations: 13.38 kB / 1.085 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.7381, allocations: 13.7 kB / 1.085 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.7382, allocations: 24 kB / 1.085 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.7382, allocations: 11.31 kB / 1.085 GB, free: 464 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.7383, allocations: 23.89 kB / 1.085 GB, free: 456 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.7383, allocations: 14.12 kB / 1.085 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.7383, allocations: 21.58 kB / 1.085 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.7385, allocations: 52.31 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7385, allocations: 0.7188 kB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7385, allocations: 0 / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7385, allocations: 1.25 kB / 1.085 GB, free: 412 kB / 0.8262 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.0004989/0.739, allocations: 374.3 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7391, allocations: 10.38 kB / 1.085 GB, free: 28 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.7391, allocations: 7.859 kB / 1.085 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.7393, allocations: 185.9 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.7393, allocations: 1.781 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.7393, allocations: 2.906 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.7396, allocations: 73.94 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7396, allocations: 192 / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.7396, allocations: 7.938 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7396, allocations: 5.094 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.74, allocations: 71.58 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.7404, allocations: 280.5 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.7407, allocations: 72.59 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.7409, allocations: 45.83 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.7411, allocations: 108.5 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.7412, allocations: 44.59 kB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7412, allocations: 0 / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000641/0.7418, allocations: 144 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.7419, allocations: 55.41 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.742, allocations: 129.4 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.742, allocations: 25.7 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.7421, allocations: 95.42 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.7421, allocations: 6.609 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.7422, allocations: 17.72 kB / 1.086 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7423, allocations: 314.9 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.7425, allocations: 39.09 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.7427, allocations: 45.92 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.743, allocations: 73.98 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.743, allocations: 4.625 kB / 1.087 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003711/0.7434, allocations: 116.3 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.7434, allocations: 5.656 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7434, allocations: 3.938 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7434, allocations: 6.266 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7436, allocations: 16.06 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7436, allocations: 3.984 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.7437, allocations: 19.92 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.7437, allocations: 0 / 1.087 GB, free: 14.48 MB / 0.8419 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 0.0001002/0.7438, allocations: 123.3 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.7438, allocations: 3.406 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.7442, allocations: 119.1 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7442, allocations: 2.25 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.7443, allocations: 4 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.7443, allocations: 0.6094 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.7445, allocations: 183.8 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7445, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.7446, allocations: 15.55 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7446, allocations: 1.219 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.7446, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7446, allocations: 2.281 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7446, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.7451, allocations: 216.1 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.7452, allocations: 86.75 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.7452, allocations: 2.578 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7453, allocations: 9.797 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.7454, allocations: 13.02 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.7454, allocations: 1.375 kB / 1.088 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.7455, allocations: 96.92 kB / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7455, allocations: 0 / 1.088 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002274/0.7457, allocations: 8.781 kB / 1.088 GB, free: 13.75 MB / 0.8419 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.000155/0.7459, allocations: 98.3 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.7462, allocations: 88.94 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7462, allocations: 0 / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.7464, allocations: 39.59 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.7467, allocations: 10.84 kB / 1.088 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.7471, allocations: 179.9 kB / 1.088 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.7474, allocations: 0.6886 MB / 1.089 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.7474, allocations: 11.47 kB / 1.089 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.7475, allocations: 0 / 1.089 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.002721/0.7502, allocations: 0.8935 MB / 1.09 GB, free: 12.7 MB / 0.8419 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=400 -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