Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.0016/0.0016, allocations: 190.3 kB / 17.29 MB, free: 5.48 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 69.41 kB / 0.814 GB, free: 32.56 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3552, allocations: 140.4 MB / 0.9511 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002177/0.3575, allocations: 0.653 MB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009837/0.3585, allocations: 0.8645 MB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.3585, allocations: 0 / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.3586, allocations: 0 / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/0.3586, allocations: 7.938 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.3588, allocations: 15.97 kB / 0.9526 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.3589, allocations: 15.94 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.359, allocations: 11.98 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.018e-05/0.3591, allocations: 8 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.3591, allocations: 7.922 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.3591, allocations: 4 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.3592, allocations: 0 / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3592, allocations: 7.984 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.3592, allocations: 15.94 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.525e-05/0.3593, allocations: 27.83 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3593, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3593, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3593, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7325 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.0004691/0.3598, allocations: 339.5 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3599, allocations: 8.031 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3599, allocations: 0.9375 kB / 0.9531 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.36, allocations: 172.2 kB / 0.9532 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.36, allocations: 4.375 kB / 0.9532 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3601, allocations: 384 / 0.9532 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.3602, allocations: 50.23 kB / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3602, allocations: 192 / 0.9533 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3603, allocations: 3.938 kB / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3603, allocations: 0 / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.3604, allocations: 39.89 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.3608, allocations: 245 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.3609, allocations: 38.5 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.361, allocations: 24.89 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3611, allocations: 4 kB / 0.9536 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3611, allocations: 34.56 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3611, allocations: 0 / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.3615, allocations: 89.52 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.3615, allocations: 51.41 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3616, allocations: 93.86 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3616, allocations: 25.7 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.3617, allocations: 96.19 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3617, allocations: 7.906 kB / 0.954 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.3618, allocations: 9.719 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3619, allocations: 318.8 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.362, allocations: 15.98 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.362, allocations: 19.97 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3622, allocations: 44.83 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3622, allocations: 0 / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001807/0.3624, allocations: 69.59 kB / 0.9545 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3624, allocations: 4 kB / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3624, allocations: 0 / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3624, allocations: 0 / 0.9545 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.3625, allocations: 11.98 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.3625, allocations: 4.031 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.3626, allocations: 4 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.3626, allocations: 0 / 0.9545 GB, free: 4.312 MB / 0.7325 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.613e-05/0.3627, allocations: 117.3 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.3627, allocations: 11.89 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3627, allocations: 3.125 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3628, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3628, allocations: 0 / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3628, allocations: 4 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.363, allocations: 157.6 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.363, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.363, allocations: 15.92 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.363, allocations: 192 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.363, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3631, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3631, allocations: 0 / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3633, allocations: 171.4 kB / 0.9549 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.3634, allocations: 81.11 kB / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3634, allocations: 0 / 0.955 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3635, allocations: 7.984 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.3635, allocations: 0 / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.3635, allocations: 0 / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.3636, allocations: 87.27 kB / 0.9551 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3636, allocations: 3.938 kB / 0.9551 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002085/0.3638, allocations: 8.031 kB / 0.9551 GB, free: 3.566 MB / 0.7325 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.000155/0.3639, allocations: 103.2 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3642, allocations: 39.89 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3642, allocations: 0 / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.3643, allocations: 19.98 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3646, allocations: 10.09 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.3649, allocations: 109.5 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3652, allocations: 0.6805 MB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.489e-05/0.3652, allocations: 4 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3653, allocations: 7.438 kB / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.3653, allocations: 0 / 0.9561 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of Templates: time 0.002533/0.3678, allocations: 432.2 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches