Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00154/0.00154, allocations: 108 kB / 15.6 MB, free: 132 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.00207/0.002071, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.521/1.521, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.3 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4116, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002273/0.4139, allocations: 0.5863 MB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.4154, allocations: 1.114 MB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.4155, allocations: 7.938 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.4156, allocations: 0 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.4156, allocations: 7.875 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.4162, allocations: 119.2 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.4163, allocations: 95.83 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.4164, allocations: 7.984 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.4165, allocations: 35.97 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.4166, allocations: 19.91 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4166, allocations: 8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.123e-05/0.4167, allocations: 27.98 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.4167, allocations: 7.984 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.4168, allocations: 27.92 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.417, allocations: 83.72 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.417, allocations: 8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.417, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.417, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 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.000477/0.4175, allocations: 369.4 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4175, allocations: 12.03 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.4176, allocations: 4.938 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4177, allocations: 164.4 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4177, allocations: 12.36 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.4177, allocations: 4.375 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.758e-05/0.4178, allocations: 34.27 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4179, allocations: 192 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.4179, allocations: 11.92 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4179, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.286e-05/0.4179, allocations: 4 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.4183, allocations: 292.7 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.4184, allocations: 26.52 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.4184, allocations: 4.859 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-06/0.4184, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.4186, allocations: 63.39 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4186, allocations: 0 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.4188, allocations: 61.69 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.4188, allocations: 55.39 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.4189, allocations: 105.9 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.4189, allocations: 33.69 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.419, allocations: 84.14 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.419, allocations: 3.906 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.4191, allocations: 29.7 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4192, allocations: 318.8 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.4193, allocations: 23.98 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.414e-05/0.4193, allocations: 66.42 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.418e-05/0.4194, allocations: 76.27 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4195, allocations: 7.875 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002298/0.4197, allocations: 147.4 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.4197, allocations: 33.7 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4197, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4198, allocations: 7.984 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-05/0.4198, allocations: 4.094 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.4198, allocations: 7.922 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.42, allocations: 31.91 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.42, allocations: 4 kB / 1.072 GB, free: 5.848 MB / 0.8262 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.642e-05/0.4201, allocations: 118.3 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.4202, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.4202, allocations: 11.89 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4202, allocations: 8 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4202, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4202, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.4203, allocations: 157.6 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4203, allocations: 320 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.4204, allocations: 7.984 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.4204, allocations: 4 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4204, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4204, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4204, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.4205, allocations: 92.91 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.4205, allocations: 77.11 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4206, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.63e-05/0.4206, allocations: 3.984 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.4206, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4206, allocations: 4 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.4207, allocations: 79.28 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001991/0.4209, allocations: 23.98 kB / 1.073 GB, free: 5.164 MB / 0.8262 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.000138/0.421, allocations: 99.25 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4212, allocations: 123.3 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.4212, allocations: 7.938 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.4213, allocations: 8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.4215, allocations: 21.42 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.4217, allocations: 126.2 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.422, allocations: 0.6768 MB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.422, allocations: 4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.422, allocations: 7.438 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.422, allocations: 0 / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.003896/0.4259, allocations: 1.076 MB / 1.075 GB, free: 2.965 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches