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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00116/0.00116, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001487/0.001488, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.869/2.869, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 7.625 kB / 0.9021 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3742, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001394/0.3757, allocations: 317.9 kB / 1.058 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.378, allocations: 1.104 MB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.156e-05/0.3781, allocations: 4 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.3782, allocations: 0 / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3783, allocations: 3.938 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008189/0.3791, allocations: 102.6 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3793, allocations: 67.83 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.3795, allocations: 7.984 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3796, allocations: 31.97 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3797, allocations: 27.84 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.3797, allocations: 4 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3798, allocations: 19.98 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.3799, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.422e-05/0.38, allocations: 33.7 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.3801, allocations: 59.8 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3801, allocations: 4 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3802, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3802, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 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.0005254/0.3807, allocations: 357.2 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3808, allocations: 16.03 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.3808, allocations: 7.906 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.381, allocations: 163.1 kB / 1.06 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.381, allocations: 4 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.55e-05/0.3811, allocations: 7.953 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.3812, allocations: 37.69 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.3812, allocations: 3.938 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3813, allocations: 0 / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3813, allocations: 4 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.3813, allocations: 4 kB / 1.06 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3817, allocations: 292.8 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.45e-05/0.3818, allocations: 14.58 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.3818, allocations: 12.92 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3818, allocations: 0 / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.382, allocations: 67.33 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.382, allocations: 0 / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002164/0.3822, allocations: 61.81 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3823, allocations: 55.41 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.3824, allocations: 109.8 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3824, allocations: 25.7 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.3825, allocations: 88.14 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3825, allocations: 7.891 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/0.3825, allocations: 8 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3826, allocations: 318.8 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.3827, allocations: 31.98 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.036e-05/0.3828, allocations: 54.52 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.3829, allocations: 57.69 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3829, allocations: 0 / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002517/0.3832, allocations: 143.3 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.3832, allocations: 33.7 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3832, allocations: 0 / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3832, allocations: 4 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/0.3833, allocations: 3.938 kB / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3833, allocations: 0 / 1.062 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.3835, allocations: 51.98 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3836, allocations: 4 kB / 1.062 GB, free: 1.281 MB / 0.8106 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.3837, allocations: 113.8 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.3837, allocations: 7.906 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.3837, allocations: 11.89 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3837, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3837, allocations: 0 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3838, allocations: 320 / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.3839, allocations: 165.6 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3839, allocations: 8 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-06/0.3839, allocations: 3.938 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3839, allocations: 0 / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.3839, allocations: 3.984 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3839, allocations: 0 / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.384, allocations: 0 / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.3841, allocations: 77.12 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.3841, allocations: 81.06 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3841, allocations: 4 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.3842, allocations: 4 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.3842, allocations: 3.984 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3842, allocations: 0 / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.3843, allocations: 87.28 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3843, allocations: 0 / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002128/0.3845, allocations: 12 kB / 1.062 GB, free: 0.6094 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.3847, allocations: 115.2 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3849, allocations: 115.4 kB / 1.062 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3849, allocations: 4 kB / 1.062 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.3849, allocations: 8 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3851, allocations: 15.92 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.3854, allocations: 130.5 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3857, allocations: 0.685 MB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.478e-05/0.3857, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.3857, allocations: 11.44 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3857, allocations: 3.938 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.003503/0.3892, allocations: 0.9836 MB / 1.064 GB, free: 14.48 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