Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_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_9_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.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 152 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.001167/0.001167, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 59.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7751/0.7764, allocations: 140.4 MB / 0.9496 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001839/0.7783, allocations: 0.5976 MB / 0.9502 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.7796, allocations: 1.101 MB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.7796, allocations: 1.875 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.7797, allocations: 0 / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.7798, allocations: 11.92 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.7803, allocations: 122.4 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.7804, allocations: 85.33 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.7805, allocations: 11.84 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.7806, allocations: 40.75 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.7807, allocations: 21.66 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.7807, allocations: 8.719 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.7808, allocations: 17.48 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.7809, allocations: 9.281 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.7809, allocations: 33.61 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.7811, allocations: 75.64 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7811, allocations: 0 / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.265e-06/0.7811, allocations: 1.344 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.7811, allocations: 4 kB / 0.9517 GB, free: 7.594 MB / 0.7169 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.0004265/0.7815, allocations: 378.4 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7816, allocations: 9.562 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.7816, allocations: 4.031 kB / 0.952 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.7817, allocations: 178.3 kB / 0.9522 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.7818, allocations: 7.25 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.7818, allocations: 4.625 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.7819, allocations: 39.31 kB / 0.9523 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7819, allocations: 4.188 kB / 0.9523 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.7819, allocations: 5.156 kB / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7819, allocations: 0 / 0.9523 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.782, allocations: 6.656 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.7823, allocations: 283 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/0.7823, allocations: 28.97 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/0.7824, allocations: 7.484 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-06/0.7824, allocations: 4 kB / 0.9526 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.7825, allocations: 58.7 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.7825, allocations: 1.25 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002099/0.7828, allocations: 63.7 kB / 0.9527 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.7828, allocations: 55.34 kB / 0.9528 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.655e-05/0.7829, allocations: 109.8 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.7829, allocations: 31.89 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.7829, allocations: 86.98 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.7829, allocations: 4.969 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.783, allocations: 30.27 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.7831, allocations: 320.3 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.7831, allocations: 26.86 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.7832, allocations: 50.94 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.934e-05/0.7833, allocations: 83.77 kB / 0.9535 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7833, allocations: 5.188 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002155/0.7836, allocations: 141.4 kB / 0.9536 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.7836, allocations: 36.66 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7836, allocations: 1.375 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.7836, allocations: 1.562 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.7837, allocations: 1.281 kB / 0.9536 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.7837, allocations: 5.344 kB / 0.9537 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.7839, allocations: 31.44 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.7839, allocations: 9.547 kB / 0.9537 GB, free: 5.52 MB / 0.7169 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 6.783e-05/0.784, allocations: 114.1 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.784, allocations: 10.47 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.784, allocations: 7.844 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.784, allocations: 1.156 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7841, allocations: 4 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7841, allocations: 1.156 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.7842, allocations: 166.4 kB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7842, allocations: 5.25 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-06/0.7842, allocations: 3.938 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7842, allocations: 1.125 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.7842, allocations: 1 kB / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7842, allocations: 0 / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7842, allocations: 0 / 0.954 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.842e-05/0.7843, allocations: 87.27 kB / 0.9541 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.7843, allocations: 78.42 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.7843, allocations: 1.219 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.413e-05/0.7844, allocations: 0 / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.7844, allocations: 2.406 kB / 0.9542 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.7844, allocations: 5.312 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.7844, allocations: 84.2 kB / 0.9542 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7844, allocations: 0 / 0.9542 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002092/0.7847, allocations: 14.56 kB / 0.9543 GB, free: 4.898 MB / 0.7169 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.0001525/0.7848, allocations: 110 kB / 0.9544 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.785, allocations: 119.5 kB / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.785, allocations: 0 / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.7851, allocations: 11.31 kB / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.7853, allocations: 15.55 kB / 0.9545 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.7855, allocations: 133.9 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.7856, allocations: 0.6818 MB / 0.9553 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.7857, allocations: 2.844 kB / 0.9553 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.7857, allocations: 9.344 kB / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7857, allocations: 0 / 0.9553 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.003411/0.7891, allocations: 1.084 MB / 0.9564 GB, free: 3.289 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches