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.001491/0.001491, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 198 kB / 16.54 MB, free: 6.672 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.559/1.559, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 472.6 MB / 0.7452 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002642, allocations: 68.38 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.44, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002604/0.4426, allocations: 0.6536 MB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.4446, allocations: 0.8607 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.4447, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.4448, allocations: 3.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.445, allocations: 0 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.4453, allocations: 15.92 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.4455, allocations: 19.94 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.4457, allocations: 7.984 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.4458, allocations: 8 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.4459, allocations: 15.92 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.446, allocations: 7.938 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.938e-05/0.446, allocations: 4 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.446, allocations: 3.984 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.4461, allocations: 7.938 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.4462, allocations: 15.97 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4463, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.256e-06/0.4463, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4463, allocations: 0 / 1.07 GB, free: 8.738 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.0009359/0.4472, allocations: 339.8 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 8.647e-05/0.4473, allocations: 8.031 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.4474, allocations: 4.938 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4477, allocations: 168.3 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.4477, allocations: 384 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.4478, allocations: 12.31 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.4481, allocations: 46.22 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4481, allocations: 192 / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.4482, allocations: 11.94 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4482, allocations: 0 / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.4484, allocations: 35.91 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.4492, allocations: 245 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.4494, allocations: 38.5 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.787e-05/0.4495, allocations: 28.84 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4495, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.4496, allocations: 34.55 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.4496, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003982/0.45, allocations: 85.5 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.45, allocations: 59.52 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.4501, allocations: 101.9 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4502, allocations: 25.7 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.4502, allocations: 80.14 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.4503, allocations: 7.906 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.4503, allocations: 17.7 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4505, allocations: 310.8 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.4506, allocations: 15.98 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-05/0.4507, allocations: 19.98 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.4508, allocations: 40.75 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4508, allocations: 0 / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/0.451, allocations: 65.61 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4511, allocations: 12.08 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4511, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4511, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.4512, allocations: 12 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4512, allocations: 0 / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.4513, allocations: 7.984 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.4513, allocations: 0 / 1.072 GB, free: 6.711 MB / 0.8262 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.552e-05/0.4514, allocations: 113.8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.4514, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.4515, allocations: 7.125 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4515, allocations: 3.984 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4515, allocations: 7.938 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4515, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.4517, allocations: 157.6 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4517, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.4518, allocations: 11.92 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4518, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4518, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.4518, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4519, allocations: 4 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4521, allocations: 159.5 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.4522, allocations: 81.02 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.4522, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.4523, allocations: 11.98 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4523, allocations: 4.031 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.4524, allocations: 7.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.4524, allocations: 79.45 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4524, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.4526, allocations: 4 kB / 1.072 GB, free: 5.969 MB / 0.8262 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.0001792/0.4528, allocations: 107.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4531, allocations: 39.97 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4531, allocations: 0 / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.905e-05/0.4532, allocations: 19.97 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.4535, allocations: 11.94 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.4539, allocations: 113.4 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.4542, allocations: 0.6769 MB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.4543, allocations: 3.984 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.4543, allocations: 7.438 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4543, allocations: 3.938 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.002895/0.4572, allocations: 420.2 kB / 1.074 GB, free: 4.52 MB / 0.8262 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=480 -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/jenkins/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