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.00158/0.001581, allocations: 109.4 kB / 15.99 MB, free: 6.359 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.001693/0.001693, allocations: 196.3 kB / 16.91 MB, free: 6.199 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 469.4 MB / 0.7423 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 70.39 kB / 0.9083 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.316, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002125/0.3182, allocations: 0.6417 MB / 1.064 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.3197, allocations: 1.108 MB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.3198, allocations: 4 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.3199, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.3199, allocations: 3.938 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.3206, allocations: 109 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3208, allocations: 103.8 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.3208, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.3209, allocations: 27.98 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.321, allocations: 31.89 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.321, allocations: 11.94 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.3212, allocations: 19.98 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3212, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3213, allocations: 31.91 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3214, allocations: 55.88 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3214, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3214, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3214, allocations: 0 / 1.066 GB, free: 13.2 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.000543/0.322, allocations: 381.4 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.322, allocations: 8.625 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.3221, allocations: 4.938 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3222, allocations: 172.4 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3223, allocations: 4.359 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3223, allocations: 8.312 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.3224, allocations: 42.27 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.3224, allocations: 192 / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.3224, allocations: 7.922 kB / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3225, allocations: 0 / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.3225, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.3229, allocations: 280.9 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.728e-05/0.323, allocations: 34.39 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.3231, allocations: 16.86 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.3231, allocations: 4.062 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.3233, allocations: 59.3 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.3233, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002055/0.3235, allocations: 65.62 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3236, allocations: 55.39 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.3237, allocations: 105.9 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.3237, allocations: 33.69 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.3238, allocations: 84.14 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.3238, allocations: 7.906 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3239, allocations: 29.7 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3241, allocations: 310.8 kB / 1.067 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.3242, allocations: 31.98 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.3243, allocations: 50.55 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.3244, allocations: 84.2 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3244, allocations: 3.938 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000261/0.3247, allocations: 139.3 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.3247, allocations: 33.7 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3247, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3247, allocations: 96 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.3248, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3248, allocations: 11.92 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.325, allocations: 31.81 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3251, allocations: 4 kB / 1.068 GB, free: 10.86 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 0.0001353/0.3252, allocations: 117.8 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.3252, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.3253, allocations: 11.89 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3253, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.3253, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3253, allocations: 4.172 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.3254, allocations: 165.9 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3255, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.3255, allocations: 7.969 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3255, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3255, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3255, allocations: 3.938 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3255, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.3256, allocations: 85.06 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.3257, allocations: 81.02 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.3257, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.3257, allocations: 7.984 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.3258, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3258, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.757e-05/0.3259, allocations: 87.28 kB / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3259, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00023/0.3261, allocations: 19.98 kB / 1.068 GB, free: 10.17 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.0001805/0.3263, allocations: 103.2 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3266, allocations: 119.4 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3266, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.3266, allocations: 11.94 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3269, allocations: 19.5 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.3272, allocations: 147.9 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.3276, allocations: 0.6768 MB / 1.069 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.3276, allocations: 11.44 kB / 1.069 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of SimCode: time 7.01e-07/0.3276, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of Templates: time 0.002789/0.3304, allocations: 0.893 MB / 1.07 GB, free: 8.129 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