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.001168/0.001168, allocations: 106.9 kB / 15.99 MB, free: 6.355 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.001238/0.001238, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.375/2.375, allocations: 390.3 MB / 0.665 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.23 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2504, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001877/0.2523, allocations: 0.6502 MB / 0.9504 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.2537, allocations: 1.107 MB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.2537, allocations: 4 kB / 0.9515 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.2538, allocations: 3.938 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.79e-05/0.2539, allocations: 0 / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.2543, allocations: 107.5 kB / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2545, allocations: 95.88 kB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.2546, allocations: 8 kB / 0.9517 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.2547, allocations: 35.91 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.2547, allocations: 19.97 kB / 0.9518 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2548, allocations: 11.94 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.2549, allocations: 31.97 kB / 0.9518 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.2549, allocations: 7.938 kB / 0.9518 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.2549, allocations: 27.92 kB / 0.9518 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2551, allocations: 55.88 kB / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2551, allocations: 0 / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2551, allocations: 0 / 0.9519 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.2551, allocations: 0 / 0.9519 GB, free: 7.062 MB / 0.7325 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.0004563/0.2556, allocations: 377.4 kB / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2556, allocations: 12.03 kB / 0.9523 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.2557, allocations: 12.84 kB / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2558, allocations: 164.4 kB / 0.9524 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.2558, allocations: 4.375 kB / 0.9524 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.2558, allocations: 4.375 kB / 0.9524 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.723e-05/0.2559, allocations: 34.25 kB / 0.9525 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2559, allocations: 4.188 kB / 0.9525 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.256, allocations: 7.938 kB / 0.9525 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.256, allocations: 0 / 0.9525 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.256, allocations: 7.938 kB / 0.9525 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.2563, allocations: 284.9 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.2564, allocations: 34.44 kB / 0.9528 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.2564, allocations: 12.92 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-06/0.2564, allocations: 0 / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.2566, allocations: 63.33 kB / 0.9529 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.2566, allocations: 4 kB / 0.9529 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001774/0.2568, allocations: 61.78 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2568, allocations: 55.41 kB / 0.953 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.2569, allocations: 105.8 kB / 0.9531 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.257, allocations: 29.7 kB / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.257, allocations: 84.14 kB / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.257, allocations: 7.906 kB / 0.9532 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.2571, allocations: 29.7 kB / 0.9532 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.2572, allocations: 326.7 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.2573, allocations: 27.98 kB / 0.9536 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.2574, allocations: 46.56 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.2575, allocations: 80.3 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2575, allocations: 3.938 kB / 0.9537 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002502/0.2577, allocations: 147.3 kB / 0.9538 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.2578, allocations: 43.41 kB / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2578, allocations: 3.938 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2578, allocations: 0 / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.931e-05/0.2578, allocations: 4 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.2579, allocations: 0 / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2581, allocations: 27.91 kB / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.2581, allocations: 7.984 kB / 0.9539 GB, free: 4.719 MB / 0.7325 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 8.273e-05/0.2582, allocations: 121.9 kB / 0.954 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.2582, allocations: 7.906 kB / 0.954 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2582, allocations: 3.906 kB / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2582, allocations: 0 / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2583, allocations: 0 / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2583, allocations: 4 kB / 0.954 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.2584, allocations: 165.6 kB / 0.9542 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2584, allocations: 0 / 0.9542 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/0.2584, allocations: 320 / 0.9542 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2584, allocations: 0 / 0.9542 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.2584, allocations: 8 kB / 0.9542 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2584, allocations: 4 kB / 0.9542 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2584, allocations: 3.984 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.2586, allocations: 84.98 kB / 0.9543 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2586, allocations: 85.02 kB / 0.9544 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.2586, allocations: 3.938 kB / 0.9544 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.559e-05/0.2586, allocations: 0 / 0.9544 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.2587, allocations: 4 kB / 0.9544 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2587, allocations: 8 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.2587, allocations: 83.27 kB / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2587, allocations: 0 / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002199/0.259, allocations: 20 kB / 0.9545 GB, free: 4.02 MB / 0.7325 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.0001252/0.2591, allocations: 103.2 kB / 0.9546 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.2593, allocations: 123.3 kB / 0.9547 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2593, allocations: 0 / 0.9547 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.193e-05/0.2594, allocations: 16.19 kB / 0.9547 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2596, allocations: 21.89 kB / 0.9547 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.2599, allocations: 135.9 kB / 0.9549 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.2601, allocations: 0.6883 MB / 0.9555 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.2601, allocations: 7.438 kB / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2601, allocations: 0 / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of Templates: time 0.002402/0.2625, allocations: 0.8919 MB / 0.9564 GB, free: 1.969 MB / 0.7325 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/jenkins1/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