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.001721/0.001721, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.002016/0.002016, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 482.4 MB / 0.755 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 72.06 kB / 0.924 GB, free: 308 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7429, allocations: 162.2 MB / 1.082 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.00184/0.7447, allocations: 0.7313 MB / 1.083 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.7455, allocations: 0.8351 MB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.7456, allocations: 0.7188 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.7456, allocations: 1.25 kB / 1.084 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.7457, allocations: 8.703 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001305/0.7458, allocations: 16.2 kB / 1.084 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.7459, allocations: 24.67 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.746, allocations: 4.844 kB / 1.084 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.995e-05/0.746, allocations: 12.64 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.253e-05/0.7461, allocations: 9.578 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.7461, allocations: 2.031 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.7461, allocations: 1.688 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.7461, allocations: 5.594 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.7462, allocations: 14.52 kB / 1.084 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.7462, allocations: 19.27 kB / 1.084 GB, free: 484 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7462, allocations: 2.047 kB / 1.084 GB, free: 484 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7462, allocations: 0 / 1.084 GB, free: 484 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7462, allocations: 0 / 1.084 GB, free: 484 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003426/0.7466, allocations: 339 kB / 1.084 GB, free: 116 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.7466, allocations: 9.25 kB / 1.084 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.7467, allocations: 2.406 kB / 1.084 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.7468, allocations: 163.5 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.7468, allocations: 4.375 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.7468, allocations: 3.094 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.747, allocations: 52.23 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.747, allocations: 192 / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.7471, allocations: 3.938 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.7471, allocations: 0.6875 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.7472, allocations: 33.88 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003461/0.7476, allocations: 246.6 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.7477, allocations: 40.25 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.7478, allocations: 23.41 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.7479, allocations: 4.875 kB / 1.085 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.7479, allocations: 35.94 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.7479, allocations: 0 / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.7483, allocations: 84.8 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.7483, allocations: 52.88 kB / 1.085 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.7484, allocations: 96.44 kB / 1.085 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.7484, allocations: 29.64 kB / 1.085 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.7485, allocations: 90.38 kB / 1.085 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.7485, allocations: 9.578 kB / 1.085 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.7485, allocations: 11.77 kB / 1.085 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7487, allocations: 317 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.7488, allocations: 18.55 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.7489, allocations: 18.56 kB / 1.086 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.749, allocations: 40.72 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.749, allocations: 0.7188 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.7492, allocations: 66.95 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.7492, allocations: 5.219 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.7492, allocations: 3.938 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.7493, allocations: 1.562 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.7493, allocations: 8.906 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.7494, allocations: 4.031 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.7494, allocations: 6.422 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.7494, allocations: 0.7188 kB / 1.086 GB, free: 14.77 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 9.138e-05/0.7495, allocations: 121.9 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.7496, allocations: 5.938 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.7496, allocations: 7.625 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7496, allocations: 1.031 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7496, allocations: 0 / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7496, allocations: 5.906 kB / 1.086 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.7498, allocations: 159.8 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7498, allocations: 0 / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.7499, allocations: 9.5 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7499, allocations: 0 / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.7499, allocations: 1.125 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7499, allocations: 0.7969 kB / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7499, allocations: 0 / 1.086 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.7501, allocations: 167 kB / 1.086 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.7502, allocations: 82.56 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.7502, allocations: 0.9688 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.7503, allocations: 5.672 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.7504, allocations: 7.109 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.7504, allocations: 1.156 kB / 1.086 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.7504, allocations: 83.44 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7504, allocations: 5.312 kB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000212/0.7506, allocations: 3.094 kB / 1.086 GB, free: 14.11 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.0001259/0.7508, allocations: 100 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.751, allocations: 35.3 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.751, allocations: 0.6562 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.555e-05/0.7511, allocations: 29.47 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.7514, allocations: 6.266 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.7517, allocations: 134.4 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.752, allocations: 0.6759 MB / 1.087 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.752, allocations: 9.375 kB / 1.087 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.752, allocations: 3.938 kB / 1.087 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.002069/0.7541, allocations: 0.5389 MB / 1.088 GB, free: 13.11 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