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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001095/0.001095, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001156/0.001156, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 60.66 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3089, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001812/0.3108, allocations: 0.6037 MB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3121, allocations: 1.115 MB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.3121, allocations: 4 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.3122, allocations: 0 / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.3122, allocations: 11.92 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.3127, allocations: 123.3 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3128, allocations: 91.83 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.978e-05/0.3129, allocations: 7.984 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.313, allocations: 35.92 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.3131, allocations: 31.89 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3131, allocations: 8 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.3132, allocations: 24.02 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.3132, allocations: 4 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.3132, allocations: 27.86 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.3134, allocations: 79.8 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3134, allocations: 4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.757e-06/0.3134, allocations: 4 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3134, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 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.0004034/0.3138, allocations: 369.2 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3139, allocations: 12.03 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.3139, allocations: 12.83 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.762e-05/0.314, allocations: 164.4 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.314, allocations: 4.375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.3141, allocations: 4.375 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.3142, allocations: 42.19 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.3142, allocations: 192 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3142, allocations: 7.938 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3142, allocations: 4 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.3142, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.3146, allocations: 284.9 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.3146, allocations: 22.5 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.3146, allocations: 16.86 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.3147, allocations: 0 / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.3148, allocations: 63.3 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3148, allocations: 0 / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001634/0.315, allocations: 61.86 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.315, allocations: 59.34 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.3151, allocations: 109.8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3151, allocations: 37.58 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.3152, allocations: 84.14 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.3152, allocations: 7.891 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.3153, allocations: 29.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.3154, allocations: 318.8 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.3154, allocations: 27.98 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.3155, allocations: 46.88 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3156, allocations: 84.2 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3156, allocations: 3.938 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002264/0.3159, allocations: 147.3 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.3159, allocations: 37.69 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3159, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3159, allocations: 4 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.508e-05/0.316, allocations: 8.094 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.316, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3162, allocations: 31.81 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.3162, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 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.828e-05/0.3163, allocations: 129.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.3163, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.3163, allocations: 3.906 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3163, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3163, allocations: 8 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3163, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.3165, allocations: 161.6 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3165, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-06/0.3165, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3165, allocations: 7.938 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3165, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3165, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3165, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.837e-05/0.3166, allocations: 81.06 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3166, allocations: 85.02 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3167, allocations: 3.984 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.3167, allocations: 0 / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.3167, allocations: 8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3167, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.3168, allocations: 87.2 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3168, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002167/0.317, allocations: 20 kB / 1.031 GB, free: 12.86 MB / 0.8106 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.0001103/0.3171, allocations: 99.25 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.3173, allocations: 119.3 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3173, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.3174, allocations: 19.92 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.3176, allocations: 8.125 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.3178, allocations: 130.3 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.318, allocations: 0.6768 MB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.318, allocations: 7.984 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.3181, allocations: 7.438 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3181, allocations: 0 / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of Templates: time 0.003096/0.3212, allocations: 1.068 MB / 1.033 GB, free: 10.66 MB / 0.8106 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 -s gbode -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