Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_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_10_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.001769/0.001769, 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.00187/0.001871, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.539/1.539, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.832/2.832, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7732, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00215/0.7754, allocations: 0.6004 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.777, allocations: 1.105 MB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.7771, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.7771, allocations: 3.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.725e-05/0.7772, allocations: 3.938 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.7777, allocations: 119.6 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.7779, allocations: 99.81 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.778, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.778, allocations: 35.91 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.17e-05/0.7781, allocations: 23.91 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.7782, allocations: 8 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.7782, allocations: 23.98 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.7783, allocations: 3.984 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.373e-05/0.7783, allocations: 31.92 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.7785, allocations: 87.78 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7785, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7785, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7785, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 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.0005896/0.7791, allocations: 379.1 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.7792, allocations: 8.031 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.7792, allocations: 8.844 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.7794, allocations: 168.3 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.7794, allocations: 4.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.7795, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.7796, allocations: 46.25 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.7796, allocations: 192 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7796, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7796, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.7797, allocations: 7.984 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.7801, allocations: 280.9 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.1e-05/0.7802, allocations: 30.45 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.7802, allocations: 8.859 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.7802, allocations: 7.922 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.7804, allocations: 59.45 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.7804, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002188/0.7806, allocations: 69.53 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.7807, allocations: 51.41 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7808, allocations: 109.8 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.7808, allocations: 29.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.7809, allocations: 88.12 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.7809, allocations: 11.89 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.781, allocations: 25.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7811, allocations: 314.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.7812, allocations: 31.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.7813, allocations: 50.86 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.7814, allocations: 84.22 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7814, allocations: 7.875 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002594/0.7817, allocations: 143.3 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.7818, allocations: 33.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7818, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7818, allocations: 4.094 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.492e-05/0.7818, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.7818, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.7821, allocations: 31.95 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.7821, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 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 0.0001224/0.7822, allocations: 121.7 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.7822, allocations: 3.906 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.7823, allocations: 11.89 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7823, allocations: 4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7823, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7823, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.7825, allocations: 157.6 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7825, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.7825, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7825, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.7825, allocations: 7.984 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.7825, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7825, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.7826, allocations: 85.06 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.7827, allocations: 77.11 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.7827, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.7827, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.7828, allocations: 15.86 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.7828, allocations: 288 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.7829, allocations: 83.28 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7829, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000216/0.7831, allocations: 23.91 kB / 1.022 GB, free: 13.3 MB / 0.7794 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.0001882/0.7833, allocations: 107.4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.7836, allocations: 119.4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7836, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.7836, allocations: 15.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.7838, allocations: 21.42 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.7842, allocations: 122.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.7845, allocations: 0.6768 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.7846, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.7846, allocations: 11.44 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7846, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.004311/0.7889, allocations: 1.08 MB / 1.024 GB, free: 11.09 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches