Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001483/0.001483, allocations: 192.4 kB / 16.14 MB, free: 6.691 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.787/2.787, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 66.72 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3503, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001746/0.352, allocations: 0.6554 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3533, allocations: 1.12 MB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.3534, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.3534, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.3535, allocations: 7.875 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.3539, allocations: 118.3 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.354, allocations: 83.81 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.3541, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.3541, allocations: 23.98 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.3542, allocations: 27.91 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3542, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.3543, allocations: 23.97 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3543, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.3544, allocations: 31.91 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3546, allocations: 79.8 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3546, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3546, allocations: 0 / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.3546, allocations: 0 / 1.07 GB, free: 8.723 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000416/0.355, allocations: 381.4 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.355, allocations: 11.97 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.3551, allocations: 4.938 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3552, allocations: 160.4 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.3552, allocations: 4.375 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3553, allocations: 8.375 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.3554, allocations: 42.25 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3554, allocations: 192 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3554, allocations: 3.938 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3554, allocations: 0 / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.3554, allocations: 8 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.3558, allocations: 284.7 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.773e-05/0.3558, allocations: 34.5 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.3559, allocations: 4.859 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-06/0.3559, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.356, allocations: 63.45 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.356, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.3562, allocations: 69.61 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.3562, allocations: 51.41 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.3563, allocations: 109.8 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.3563, allocations: 29.7 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.3564, allocations: 88.08 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.3564, allocations: 11.89 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.183e-05/0.3565, allocations: 25.7 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.3566, allocations: 322.8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.3567, allocations: 27.98 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.3567, allocations: 50.88 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.99e-05/0.3568, allocations: 84.2 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3569, allocations: 7.875 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002345/0.3571, allocations: 147.2 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/0.3571, allocations: 35.25 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3571, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3572, allocations: 4.094 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.371e-05/0.3572, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.3572, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.3574, allocations: 27.91 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3574, allocations: 15.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.719e-05/0.3575, allocations: 117.7 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.3575, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.3576, allocations: 11.91 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3576, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3576, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3576, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/0.3577, allocations: 161.6 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3577, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-06/0.3577, allocations: 4 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3577, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3577, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3577, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3577, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.902e-05/0.3578, allocations: 92.95 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.3579, allocations: 81.05 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.3579, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.3579, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.3579, allocations: 4 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3579, allocations: 0 / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.358, allocations: 87.27 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.358, allocations: 3.938 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003343/0.3584, allocations: 20 kB / 1.072 GB, free: 5.695 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001718/0.3585, allocations: 107.4 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.3588, allocations: 119.4 kB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.3588, allocations: 0 / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.69e-05/0.3588, allocations: 11.94 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.359, allocations: 11.94 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.3594, allocations: 124.4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3596, allocations: 0.6848 MB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.006e-05/0.3596, allocations: 3.938 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.3597, allocations: 11.44 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3597, allocations: 0 / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of Templates: time 0.003366/0.363, allocations: 1.019 MB / 1.074 GB, free: 3.555 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches