Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.008622/0.008622, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.001732/0.001732, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 70.66 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3889, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002459/0.3914, allocations: 0.5941 MB / 1.088 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3933, allocations: 1.118 MB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.3934, allocations: 4 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.3935, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3936, allocations: 11.94 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.3943, allocations: 121.6 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3946, allocations: 83.89 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3947, allocations: 19.91 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3948, allocations: 31.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3949, allocations: 31.89 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.395, allocations: 8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.725e-05/0.3951, allocations: 31.91 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.3951, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.3952, allocations: 27.92 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.3954, allocations: 87.72 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3954, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3954, allocations: 0 / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3954, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 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.0006038/0.396, allocations: 377.1 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3961, allocations: 8.031 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.3962, allocations: 4.938 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3963, allocations: 168.4 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.3963, allocations: 4.375 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.3964, allocations: 4.375 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.3965, allocations: 38.25 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3965, allocations: 192 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3965, allocations: 11.94 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3965, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.3966, allocations: 7.938 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.397, allocations: 284.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.286e-05/0.3971, allocations: 22.52 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.3971, allocations: 4.859 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.3971, allocations: 0 / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.3973, allocations: 67.39 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.3973, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/0.3975, allocations: 65.67 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3976, allocations: 51.41 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3977, allocations: 109.8 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.3977, allocations: 25.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.3978, allocations: 88.09 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3978, allocations: 15.92 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.3979, allocations: 29.7 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.398, allocations: 314.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.3981, allocations: 35.84 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.523e-05/0.3982, allocations: 50.56 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3983, allocations: 80.27 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3983, allocations: 3.938 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002604/0.3986, allocations: 143.2 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.3987, allocations: 37.7 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3987, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3987, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.3987, allocations: 8.234 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3987, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.399, allocations: 32.06 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.399, allocations: 8 kB / 1.092 GB, free: 12.98 MB / 0.8575 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.973e-05/0.3991, allocations: 121.7 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.3991, allocations: 3.953 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.3992, allocations: 7.891 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3992, allocations: 4.234 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3992, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3992, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.3993, allocations: 165.6 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3993, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-05/0.3993, allocations: 4 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3993, allocations: 3.984 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3994, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3994, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3994, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.3995, allocations: 85 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.3995, allocations: 81.11 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3996, allocations: 0 / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.3996, allocations: 7.984 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.3996, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3996, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.3997, allocations: 79.28 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3997, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002231/0.3999, allocations: 20 kB / 1.093 GB, free: 12.3 MB / 0.8575 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.0001379/0.4001, allocations: 103.8 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.4003, allocations: 127.2 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4003, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.852e-05/0.4003, allocations: 8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4006, allocations: 23.86 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.4009, allocations: 110.1 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.4011, allocations: 0.6808 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.4012, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.4012, allocations: 11.44 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of SimCode: time 8.656e-06/0.4012, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.003889/0.4051, allocations: 1.08 MB / 1.095 GB, free: 10.1 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches