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.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001839/0.001839, allocations: 192 kB / 16.25 MB, free: 6.633 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.552/2.552, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8459, allocations: 140.3 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001703/0.8476, allocations: 0.6579 MB / 0.9497 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.8486, allocations: 1.106 MB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.8487, allocations: 0 / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.966e-05/0.8487, allocations: 3.938 kB / 0.9508 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.8488, allocations: 5.203 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.8493, allocations: 113.3 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.8494, allocations: 89.52 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.8495, allocations: 4.094 kB / 0.951 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.8495, allocations: 43.44 kB / 0.9511 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.8496, allocations: 19.25 kB / 0.9511 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.8497, allocations: 10.78 kB / 0.9511 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.8497, allocations: 26.27 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.8497, allocations: 9.781 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.8498, allocations: 30.31 kB / 0.9512 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.8499, allocations: 71.7 kB / 0.9512 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.85, allocations: 4 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.85, allocations: 0 / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.85, allocations: 0 / 0.9512 GB, free: 7.527 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.0003832/0.8504, allocations: 374 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.8504, allocations: 18.91 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.8505, allocations: 5.156 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.8506, allocations: 172.2 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.8506, allocations: 7.969 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.8506, allocations: 4.344 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.8507, allocations: 35.47 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.8507, allocations: 8.109 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.8507, allocations: 5.031 kB / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.8507, allocations: 0 / 0.9518 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.8508, allocations: 7.625 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.8511, allocations: 285.4 kB / 0.9521 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.8511, allocations: 25.61 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.8511, allocations: 7.859 kB / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8512, allocations: 0 / 0.9522 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.8513, allocations: 66.64 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.8513, allocations: 0 / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.8515, allocations: 63.88 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.8515, allocations: 52.69 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.877e-05/0.8516, allocations: 105.4 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.8516, allocations: 31.98 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.8516, allocations: 90.39 kB / 0.9525 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.8516, allocations: 5.469 kB / 0.9525 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.8517, allocations: 29.48 kB / 0.9526 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.8518, allocations: 324.1 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.8518, allocations: 27.27 kB / 0.9529 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.8519, allocations: 51.5 kB / 0.953 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.634e-05/0.852, allocations: 80.52 kB / 0.953 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.852, allocations: 3.938 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002199/0.8522, allocations: 146.4 kB / 0.9532 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.8523, allocations: 37.59 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8523, allocations: 1.188 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8523, allocations: 1.188 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.8523, allocations: 1.062 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8523, allocations: 1.156 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.8525, allocations: 28.56 kB / 0.9532 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.8526, allocations: 12.45 kB / 0.9533 GB, free: 5.453 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.544e-05/0.8526, allocations: 119.1 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.8527, allocations: 5.094 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.8527, allocations: 9 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.8527, allocations: 1.156 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.8527, allocations: 0 / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8527, allocations: 1.031 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.584e-05/0.8528, allocations: 162.5 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8528, allocations: 1.438 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-06/0.8528, allocations: 4 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8528, allocations: 1.25 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8528, allocations: 0 / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8528, allocations: 1.438 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8528, allocations: 3.938 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.8529, allocations: 86.67 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.8529, allocations: 78.23 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.853, allocations: 1.125 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.538e-05/0.853, allocations: 5.281 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.853, allocations: 1.188 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.853, allocations: 1.312 kB / 0.9537 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.606e-05/0.8531, allocations: 92.23 kB / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8531, allocations: 0 / 0.9538 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002108/0.8533, allocations: 14.47 kB / 0.9538 GB, free: 4.832 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.0001138/0.8534, allocations: 107.1 kB / 0.9539 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.8536, allocations: 128.7 kB / 0.954 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8536, allocations: 3.938 kB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.8536, allocations: 10.47 kB / 0.9541 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.8538, allocations: 13.92 kB / 0.9541 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002759/0.8541, allocations: 132.5 kB / 0.9542 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.8542, allocations: 0.6859 MB / 0.9549 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.8543, allocations: 5.469 kB / 0.9549 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.8543, allocations: 10.22 kB / 0.9549 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.8543, allocations: 0 / 0.9549 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of Templates: time 0.003189/0.8575, allocations: 1.062 MB / 0.9559 GB, free: 3.223 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