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.0009226/0.0009229, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009615/0.0009621, allocations: 186 kB / 16.92 MB, free: 6.777 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003673, allocations: 12.03 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.0008431/0.3202, allocations: 329.8 kB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.322, allocations: 1.12 MB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.322, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.322, allocations: 3.938 kB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.3221, allocations: 0 / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.3226, allocations: 114.9 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3227, allocations: 71.83 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.3228, allocations: 8 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.3229, allocations: 31.97 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.323, allocations: 27.89 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3231, allocations: 4 kB / 1.061 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.253e-05/0.3231, allocations: 19.92 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.3232, allocations: 4 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.107e-05/0.3232, allocations: 49.62 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3234, allocations: 55.86 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3234, allocations: 0 / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3234, allocations: 0 / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3234, allocations: 0 / 1.061 GB, free: 3.133 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.0004939/0.3239, allocations: 369.4 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3239, allocations: 11.97 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.324, allocations: 8.844 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3241, allocations: 168.4 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.3242, allocations: 4.375 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3242, allocations: 4.375 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.57e-05/0.3243, allocations: 38.25 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.3243, allocations: 192 / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3243, allocations: 3.938 kB / 1.062 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3243, allocations: 4 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.3244, allocations: 11.94 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3247, allocations: 280.9 kB / 1.062 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.3248, allocations: 22.52 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.172e-05/0.3248, allocations: 12.84 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.3248, allocations: 3.938 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.325, allocations: 63.41 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.325, allocations: 0 / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001895/0.3252, allocations: 69.58 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3252, allocations: 51.41 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.3253, allocations: 109.8 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.3254, allocations: 29.7 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.3254, allocations: 80.14 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.3254, allocations: 11.84 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3255, allocations: 17.72 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3256, allocations: 318.8 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.3256, allocations: 31.92 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.3257, allocations: 46.56 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3258, allocations: 80.27 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3259, allocations: 7.938 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002442/0.3261, allocations: 139.5 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.051e-05/0.3261, allocations: 37.69 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3262, allocations: 7.984 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3262, allocations: 3.938 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.3262, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3262, allocations: 0 / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.3265, allocations: 44 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.3265, allocations: 8.297 kB / 1.063 GB, free: 0.8047 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 9.114e-05/0.3266, allocations: 117.8 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3266, allocations: 7.906 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.3266, allocations: 3.906 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3266, allocations: 0 / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3267, allocations: 8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3267, allocations: 0 / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3268, allocations: 173.6 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3268, allocations: 0 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-06/0.3268, allocations: 0 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3268, allocations: 0 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3268, allocations: 0 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3268, allocations: 4 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3268, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.327, allocations: 92.92 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.327, allocations: 77.11 kB / 1.064 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.327, allocations: 4 kB / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.3271, allocations: 0 / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.3271, allocations: 0 / 1.064 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3271, allocations: 4 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.3271, allocations: 87.27 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3271, allocations: 0 / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00021/0.3274, allocations: 15.91 kB / 1.064 GB, free: 124 kB / 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.000189/0.3276, allocations: 103.2 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3278, allocations: 123.3 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3278, allocations: 0 / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.3278, allocations: 11.98 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.3281, allocations: 15.88 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.3284, allocations: 156.6 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3288, allocations: 0.677 MB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.3288, allocations: 11.44 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of SimCode: time 2.665e-06/0.3288, allocations: 0 / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of Templates: time 0.002931/0.3317, allocations: 0.8896 MB / 1.066 GB, free: 14.06 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/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