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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008864/0.0008859, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008806/0.0008807, allocations: 172.7 kB / 15.95 MB, free: 208 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.9 MB / 0.666 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004066, allocations: 12 kB / 0.8154 GB, free: 13.54 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.897, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.000845/0.8979, allocations: 319.1 kB / 0.9547 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.8991, allocations: 1.086 MB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/0.8992, allocations: 1.281 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.8992, allocations: 0 / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.8993, allocations: 7.922 kB / 0.9558 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.8997, allocations: 112.9 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.86e-05/0.8998, allocations: 63.42 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.8999, allocations: 3.406 kB / 0.956 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.9, allocations: 31.05 kB / 0.956 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.9001, allocations: 23.3 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.9001, allocations: 3.969 kB / 0.956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.9002, allocations: 18.58 kB / 0.9561 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.9002, allocations: 9.203 kB / 0.9561 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.9003, allocations: 32.27 kB / 0.9561 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.9004, allocations: 57.16 kB / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.9004, allocations: 4 kB / 0.9562 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9004, allocations: 5.062 kB / 0.9562 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9004, allocations: 0 / 0.9562 GB, free: 6.363 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.0003076/0.9007, allocations: 367 kB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.9008, allocations: 9.094 kB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.9008, allocations: 8.422 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.924e-05/0.9009, allocations: 165.3 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.9009, allocations: 2.156 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.9009, allocations: 4.969 kB / 0.9567 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.533e-05/0.901, allocations: 42.22 kB / 0.9567 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.901, allocations: 3.938 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9011, allocations: 5.109 kB / 0.9567 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.9011, allocations: 0 / 0.9567 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.9011, allocations: 7.078 kB / 0.9568 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.9014, allocations: 290.3 kB / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.129e-05/0.9015, allocations: 26.05 kB / 0.9571 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.9015, allocations: 6.953 kB / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.9015, allocations: 0 / 0.9571 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.9016, allocations: 62.73 kB / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9016, allocations: 1.219 kB / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001811/0.9018, allocations: 62.45 kB / 0.9572 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.9019, allocations: 52.59 kB / 0.9572 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.9019, allocations: 109 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.902, allocations: 27.89 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.902, allocations: 95.61 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.902, allocations: 1.094 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.902, allocations: 1.062 kB / 0.9575 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.9021, allocations: 320.2 kB / 0.9578 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.9022, allocations: 27.48 kB / 0.9578 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.9022, allocations: 51.31 kB / 0.9578 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.9023, allocations: 52.62 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9023, allocations: 1.312 kB / 0.9579 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002041/0.9025, allocations: 145.2 kB / 0.958 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/0.9026, allocations: 38.41 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.9026, allocations: 1.219 kB / 0.9581 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.9026, allocations: 5.109 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.813e-05/0.9026, allocations: 3.969 kB / 0.9581 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9026, allocations: 4.094 kB / 0.9581 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.9029, allocations: 40.03 kB / 0.9581 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.9029, allocations: 8.078 kB / 0.9581 GB, free: 4.359 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 ($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 7.246e-05/0.903, allocations: 119.4 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.487e-06/0.903, allocations: 5.125 kB / 0.9582 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.903, allocations: 5.062 kB / 0.9582 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.903, allocations: 5.188 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.903, allocations: 3.953 kB / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9031, allocations: 0 / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.401e-05/0.9031, allocations: 159.7 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9031, allocations: 1.156 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.9032, allocations: 4 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9032, allocations: 1.156 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.9032, allocations: 1.188 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.9032, allocations: 0 / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9032, allocations: 4 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.008e-05/0.9033, allocations: 83.56 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.9033, allocations: 82.45 kB / 0.9586 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.9033, allocations: 9.641 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.397e-05/0.9034, allocations: 0 / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.9034, allocations: 1.375 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.9034, allocations: 5.281 kB / 0.9586 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.9034, allocations: 91.44 kB / 0.9587 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9034, allocations: 1.469 kB / 0.9587 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002035/0.9036, allocations: 14.88 kB / 0.9587 GB, free: 3.73 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 (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.0001143/0.9038, allocations: 108.3 kB / 0.9588 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.904, allocations: 114 kB / 0.9589 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.904, allocations: 1.5 kB / 0.9589 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.941e-05/0.904, allocations: 18.08 kB / 0.9589 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.9042, allocations: 10.28 kB / 0.9589 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.9045, allocations: 130.5 kB / 0.9591 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.9046, allocations: 0.6788 MB / 0.9597 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.9046, allocations: 2.688 kB / 0.9597 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.9046, allocations: 9.5 kB / 0.9597 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9046, allocations: 0 / 0.9597 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of Templates: time 0.003597/0.9082, allocations: 0.9824 MB / 0.9607 GB, free: 2.184 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