Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 100.9 kB / 16.27 MB, free: 5.977 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.001506/0.001506, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.338/1.338, 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.621/2.621, allocations: 482.4 MB / 0.7553 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 64.03 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6684, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001722/0.6702, allocations: 0.6556 MB / 1.084 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.671, allocations: 0.845 MB / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.671, allocations: 0 / 1.084 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.671, allocations: 5.25 kB / 1.084 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.6711, allocations: 4.594 kB / 1.084 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001247/0.6712, allocations: 13.89 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.6713, allocations: 20.19 kB / 1.084 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.6714, allocations: 8.547 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.6714, allocations: 8.672 kB / 1.084 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.6715, allocations: 9.203 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.6715, allocations: 1.312 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.6715, allocations: 2.438 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.6715, allocations: 14.73 kB / 1.084 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.6715, allocations: 10.08 kB / 1.085 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.217e-05/0.6716, allocations: 21.7 kB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6716, allocations: 0 / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6716, allocations: 0 / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.6716, allocations: 0.9375 kB / 1.085 GB, free: 0.5391 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003317/0.672, allocations: 341.9 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.672, allocations: 10.19 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.672, allocations: 5.562 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.563e-05/0.6721, allocations: 167.3 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6722, allocations: 1.484 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.6722, allocations: 2.375 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.6723, allocations: 53.58 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6724, allocations: 192 / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.6724, allocations: 3.938 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6724, allocations: 0.6875 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.6726, allocations: 41.16 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.6729, allocations: 246.1 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.673, allocations: 41.08 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.985e-05/0.6731, allocations: 26.08 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.6732, allocations: 1.672 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6732, allocations: 36.33 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6732, allocations: 0 / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/0.6735, allocations: 83.48 kB / 1.086 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6736, allocations: 57.02 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.6737, allocations: 96.12 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.6737, allocations: 31.11 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.6737, allocations: 85.56 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.6738, allocations: 8.844 kB / 1.086 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.6738, allocations: 13.03 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.674, allocations: 317.4 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.674, allocations: 14.16 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.6741, allocations: 18.61 kB / 1.086 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.6743, allocations: 40.64 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6743, allocations: 1.469 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.6745, allocations: 70.02 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.6745, allocations: 5.531 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6745, allocations: 0.75 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6745, allocations: 5.156 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.6746, allocations: 11.89 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.6746, allocations: 1 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.6747, allocations: 5.641 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.6747, allocations: 1.281 kB / 1.086 GB, free: 14.82 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 (2): * Single equations (assignments): 2 * 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 7.659e-05/0.6748, allocations: 112.5 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.6748, allocations: 5.922 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.6748, allocations: 5.531 kB / 1.086 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6749, allocations: 4 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6749, allocations: 1.688 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6749, allocations: 0.5625 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.675, allocations: 158.3 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.675, allocations: 5.391 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.6751, allocations: 8.688 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6751, allocations: 5.125 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.6751, allocations: 0 / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.6751, allocations: 0.6562 kB / 1.087 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6751, allocations: 5.312 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.6754, allocations: 165.7 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.6754, allocations: 83.28 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.6755, allocations: 0.7031 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.6755, allocations: 6.797 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.6756, allocations: 2.188 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.6756, allocations: 5.344 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.6757, allocations: 87.31 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6757, allocations: 1.062 kB / 1.087 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002032/0.6759, allocations: 3.344 kB / 1.087 GB, free: 14.16 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 (2): * Single equations (assignments): 2 * 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.0001174/0.676, allocations: 100.8 kB / 1.087 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.6762, allocations: 39.39 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.6762, allocations: 5.344 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.6763, allocations: 20.19 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.6766, allocations: 6.719 kB / 1.087 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.6768, allocations: 130.5 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.6772, allocations: 0.6761 MB / 1.088 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.6772, allocations: 9.328 kB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.6772, allocations: 4.062 kB / 1.088 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.001874/0.6791, allocations: 0.5397 MB / 1.088 GB, free: 13.17 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches