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.001401/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001849/0.00185, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.492/1.492, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.543/2.543, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7735, allocations: 140.4 MB / 0.9489 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001959/0.7755, allocations: 0.6657 MB / 0.9496 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.7768, allocations: 1.109 MB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.7768, allocations: 1.312 kB / 0.9507 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.7768, allocations: 3.938 kB / 0.9507 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.7769, allocations: 13.28 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.7773, allocations: 105.3 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.7774, allocations: 78.3 kB / 0.9508 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.7775, allocations: 3.469 kB / 0.9509 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.7776, allocations: 36.22 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.7777, allocations: 26.19 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.7777, allocations: 4.25 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.378e-05/0.7778, allocations: 22.89 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.7778, allocations: 6.422 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.7779, allocations: 24.95 kB / 0.951 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.778, allocations: 79.78 kB / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.778, allocations: 0 / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.778, allocations: 0 / 0.951 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7781, allocations: 1.094 kB / 0.951 GB, free: 7.68 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.0004079/0.7785, allocations: 374 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7785, allocations: 9.25 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.7786, allocations: 5 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.7787, allocations: 177.6 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.7787, allocations: 3.125 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.7787, allocations: 4.625 kB / 0.9516 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.047e-05/0.7788, allocations: 35.84 kB / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7788, allocations: 192 / 0.9516 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.7788, allocations: 5.344 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7788, allocations: 0 / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.533e-05/0.7789, allocations: 14.69 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.7792, allocations: 285.9 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.7793, allocations: 22.02 kB / 0.9519 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.7793, allocations: 7.578 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.7793, allocations: 0 / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.7794, allocations: 71.11 kB / 0.952 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.7794, allocations: 0 / 0.952 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001748/0.7796, allocations: 62.69 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.7797, allocations: 53.03 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.7797, allocations: 105.9 kB / 0.9522 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.7798, allocations: 31.23 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.7798, allocations: 82.98 kB / 0.9523 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.7798, allocations: 5.438 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.478e-05/0.7799, allocations: 38.09 kB / 0.9524 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.7799, allocations: 314.8 kB / 0.9527 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.78, allocations: 28.33 kB / 0.9527 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-05/0.7801, allocations: 50.59 kB / 0.9528 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.7802, allocations: 76.11 kB / 0.9528 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7802, allocations: 11.88 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000228/0.7805, allocations: 142.5 kB / 0.953 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.7805, allocations: 38.59 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7805, allocations: 1.438 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7805, allocations: 1.344 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.7806, allocations: 5.531 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.7806, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.7808, allocations: 37.08 kB / 0.9531 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.7808, allocations: 9.203 kB / 0.9531 GB, free: 5.613 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 7.907e-05/0.7809, allocations: 113.6 kB / 0.9532 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.7809, allocations: 10.41 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.781, allocations: 5.25 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.781, allocations: 0 / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.781, allocations: 5.188 kB / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.781, allocations: 0 / 0.9532 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.7811, allocations: 162.8 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7811, allocations: 1.156 kB / 0.9533 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.7811, allocations: 4 kB / 0.9533 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.7811, allocations: 1.25 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.7811, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7811, allocations: 1.438 kB / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7811, allocations: 0 / 0.9534 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.7812, allocations: 87.48 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.7813, allocations: 77.11 kB / 0.9535 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.7813, allocations: 1.562 kB / 0.9535 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.7813, allocations: 5.062 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.7813, allocations: 1 kB / 0.9535 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7814, allocations: 13.05 kB / 0.9535 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.7814, allocations: 80.28 kB / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7814, allocations: 0 / 0.9536 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.7816, allocations: 15.44 kB / 0.9536 GB, free: 4.996 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.0001463/0.7818, allocations: 109.3 kB / 0.9537 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.782, allocations: 123.6 kB / 0.9538 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.782, allocations: 0 / 0.9538 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.468e-05/0.7821, allocations: 11.03 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.7823, allocations: 16.58 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.7826, allocations: 131.2 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.7827, allocations: 0.6827 MB / 0.9547 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.7827, allocations: 2.438 kB / 0.9547 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.7827, allocations: 8.906 kB / 0.9547 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7828, allocations: 0 / 0.9547 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.003666/0.7864, allocations: 1.036 MB / 0.9557 GB, free: 3.406 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