Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 189.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.88 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 160.8 MB / 1.218 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002619/1.069, allocations: 0.6091 MB / 1.219 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002012/1.071, allocations: 1.12 MB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/1.071, allocations: 1.125 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/1.071, allocations: 7.938 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/1.071, allocations: 8.984 kB / 1.22 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006925/1.071, allocations: 114.5 kB / 1.22 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/1.072, allocations: 93.61 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/1.072, allocations: 6.516 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/1.072, allocations: 33.11 kB / 1.22 GB, free: 2.227 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/1.072, allocations: 31.61 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/1.072, allocations: 7.406 kB / 1.22 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/1.072, allocations: 30.55 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/1.072, allocations: 6.016 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/1.072, allocations: 29.42 kB / 1.22 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/1.072, allocations: 81.38 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.072, allocations: 1.188 kB / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.033e-06/1.072, allocations: 0 / 1.221 GB, free: 2.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.782e-06/1.072, allocations: 0 / 1.221 GB, free: 2.105 MB / 0.92 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.0006577/1.073, allocations: 376.2 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.073, allocations: 9.312 kB / 1.221 GB, free: 1.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/1.073, allocations: 8.922 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/1.073, allocations: 174.6 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.073, allocations: 2.188 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/1.073, allocations: 4.562 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/1.074, allocations: 35.72 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.074, allocations: 8.938 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.074, allocations: 7.938 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.074, allocations: 1.094 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.681e-05/1.074, allocations: 3.281 kB / 1.221 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/1.074, allocations: 294.3 kB / 1.221 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/1.074, allocations: 25.08 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.196e-05/1.074, allocations: 10.09 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/1.074, allocations: 1.312 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/1.074, allocations: 58.42 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/1.074, allocations: 0 / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002315/1.075, allocations: 71.36 kB / 1.222 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/1.075, allocations: 52.88 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/1.075, allocations: 109.1 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/1.075, allocations: 27.86 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/1.075, allocations: 83.67 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/1.075, allocations: 9.375 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/1.075, allocations: 32.86 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002545/1.075, allocations: 320.1 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/1.075, allocations: 30.55 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/1.075, allocations: 48.28 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/1.076, allocations: 79.39 kB / 1.222 GB, free: 200 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.076, allocations: 3.938 kB / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002743/1.076, allocations: 143.5 kB / 1.223 GB, free: 92 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/1.076, allocations: 45.75 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.076, allocations: 1.125 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.076, allocations: 1.375 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.878e-05/1.076, allocations: 0.75 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.076, allocations: 0.75 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/1.076, allocations: 27.86 kB / 1.223 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/1.076, allocations: 9.547 kB / 1.223 GB, free: 32 kB / 0.92 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.0001583/1.076, allocations: 134.6 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/1.076, allocations: 1.156 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/1.076, allocations: 5 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.076, allocations: 1.125 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.076, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.076, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.077, allocations: 164 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.077, allocations: 0 / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-06/1.077, allocations: 1.344 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.077, allocations: 0 / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/1.077, allocations: 1.062 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.077, allocations: 9.156 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.077, allocations: 3.938 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/1.077, allocations: 87 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/1.077, allocations: 78.23 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.077, allocations: 1.094 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/1.077, allocations: 4.281 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/1.077, allocations: 5.906 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/1.077, allocations: 5.125 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.643e-05/1.077, allocations: 84.45 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.077, allocations: 0 / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002355/1.077, allocations: 18.41 kB / 1.223 GB, free: 15.4 MB / 0.9356 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.0001704/1.077, allocations: 105.1 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002622/1.078, allocations: 112.7 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.078, allocations: 0 / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/1.078, allocations: 10.62 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/1.078, allocations: 18.48 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/1.078, allocations: 117.2 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/1.079, allocations: 0.6781 MB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.754e-05/1.079, allocations: 2.25 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/1.079, allocations: 9.406 kB / 1.224 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/1.079, allocations: 0 / 1.224 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of Templates: time 0.004931/1.084, allocations: 1.086 MB / 1.225 GB, free: 13.81 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.41055590286851]