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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007936/0.007936, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001822/0.001822, allocations: 196.4 kB / 16.79 MB, free: 5.809 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.459/1.459, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7577, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002408/0.7601, allocations: 0.6676 MB / 1.018 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.7618, allocations: 1.113 MB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.7619, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.7619, allocations: 3.938 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.762, allocations: 7.984 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.7625, allocations: 107.3 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.7626, allocations: 79.83 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.7627, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.7628, allocations: 31.97 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.7629, allocations: 23.84 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.763, allocations: 8 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.962e-05/0.763, allocations: 15.98 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.7631, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.46e-05/0.7631, allocations: 35.83 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.7633, allocations: 51.89 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7633, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7633, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.7633, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 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.0004989/0.7638, allocations: 379.2 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7638, allocations: 8.031 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.7639, allocations: 8.844 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.764, allocations: 164.3 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.7641, allocations: 8.359 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.7641, allocations: 4.375 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.7642, allocations: 34.31 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7642, allocations: 4.188 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.7643, allocations: 11.88 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7643, allocations: 7.875 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.7643, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.7647, allocations: 284.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.336e-05/0.7648, allocations: 22.52 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.7648, allocations: 8.859 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.7648, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.765, allocations: 63.39 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.765, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002111/0.7653, allocations: 69.77 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.7653, allocations: 55.39 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/0.7654, allocations: 101.9 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.7654, allocations: 29.69 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.7655, allocations: 92.14 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.7655, allocations: 3.906 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.7656, allocations: 33.64 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.7657, allocations: 314.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.7658, allocations: 27.98 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/0.7659, allocations: 50.55 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.766, allocations: 84.27 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.766, allocations: 3.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002462/0.7662, allocations: 135.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.7663, allocations: 41.64 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.7663, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7663, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.7663, allocations: 320 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7663, allocations: 4.078 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.7666, allocations: 35.91 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.7666, allocations: 8 kB / 1.021 GB, free: 14.32 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 9.698e-05/0.7667, allocations: 117.8 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.7667, allocations: 3.906 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.7668, allocations: 7.891 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7668, allocations: 4 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.7668, allocations: 0 / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7668, allocations: 4 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.7669, allocations: 161.6 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7669, allocations: 3.938 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.767, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.767, allocations: 3.984 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.767, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.767, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.767, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.7671, allocations: 89 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.7672, allocations: 81.02 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.7672, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/0.7672, allocations: 3.984 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.7672, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.7672, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.7673, allocations: 83.28 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7673, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002274/0.7675, allocations: 19.98 kB / 1.022 GB, free: 13.64 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.0001623/0.7677, allocations: 107.2 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.7679, allocations: 123.3 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7679, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.768, allocations: 8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7682, allocations: 17.64 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.7686, allocations: 153.9 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7688, allocations: 0.677 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.7689, allocations: 15.38 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.7689, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.002701/0.7716, allocations: 0.8864 MB / 1.024 GB, free: 11.59 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=480 -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/jenkins1/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