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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001211/0.001211, allocations: 108.9 kB / 16.27 MB, free: 6.414 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.0011/0.0011, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.67/2.67, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 77.34 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3248, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002012/0.3269, allocations: 0.5809 MB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.3284, allocations: 1.12 MB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.3284, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.3285, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.3285, allocations: 3.938 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.329, allocations: 122.3 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3292, allocations: 95.83 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.3293, allocations: 4 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/0.3294, allocations: 35.95 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.3294, allocations: 27.91 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3295, allocations: 12 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.3296, allocations: 23.92 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.3296, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.3297, allocations: 31.91 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3298, allocations: 83.78 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3298, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3298, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3299, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 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.0004386/0.3303, allocations: 377.4 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3303, allocations: 8.625 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.3304, allocations: 8.938 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3305, allocations: 168.4 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3305, allocations: 384 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3306, allocations: 4.375 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.3307, allocations: 46.19 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3307, allocations: 192 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3307, allocations: 3.938 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3307, allocations: 3.938 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.3307, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.3311, allocations: 284.9 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.815e-05/0.3312, allocations: 26.52 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.3312, allocations: 8.922 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-06/0.3312, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.3314, allocations: 75.22 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.3314, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001988/0.3316, allocations: 61.67 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3317, allocations: 51.41 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.3318, allocations: 109.8 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3318, allocations: 29.7 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.3319, allocations: 84.14 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.3319, allocations: 7.906 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.3319, allocations: 33.64 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3321, allocations: 314.8 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.3322, allocations: 35.97 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-05/0.3323, allocations: 46.5 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.3324, allocations: 80.27 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3324, allocations: 3.938 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002548/0.3326, allocations: 143.3 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.3327, allocations: 41.64 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3327, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3327, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.679e-05/0.3327, allocations: 3.984 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3327, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.333, allocations: 31.81 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.333, allocations: 4 kB / 1.068 GB, free: 10.51 MB / 0.8419 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 9.816e-05/0.3331, allocations: 126.4 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.3331, allocations: 4 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.3331, allocations: 3.906 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3332, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3332, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3332, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3333, allocations: 165.6 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3333, allocations: 3.984 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-06/0.3333, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3333, allocations: 7.938 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3333, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3334, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3334, allocations: 4 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/0.3335, allocations: 81 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.34e-05/0.3335, allocations: 81.02 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3335, allocations: 7.984 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.3336, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.3336, allocations: 4.312 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3336, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.3336, allocations: 87.28 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3336, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002169/0.3339, allocations: 15.98 kB / 1.069 GB, free: 9.828 MB / 0.8419 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.0001454/0.334, allocations: 103.2 kB / 1.069 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3342, allocations: 123.3 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3343, allocations: 8.125 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.3343, allocations: 16.27 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3345, allocations: 9.828 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3348, allocations: 147.7 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3351, allocations: 0.6808 MB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.3351, allocations: 7.438 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3351, allocations: 4 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.002501/0.3376, allocations: 0.8874 MB / 1.071 GB, free: 7.781 MB / 0.8419 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/jenkins1/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