Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 75.75 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 166.8 kB / 23.01 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.825/2.825, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001707/1.083, allocations: 0.5842 MB / 1.154 GB, free: 32.95 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001147/1.084, allocations: 1.123 MB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/1.084, allocations: 0 / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/1.084, allocations: 6.594 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/1.084, allocations: 3.938 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/1.084, allocations: 130.4 kB / 1.156 GB, free: 32.06 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/1.085, allocations: 94.56 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.011e-05/1.085, allocations: 6.562 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.335e-05/1.085, allocations: 34.5 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/1.085, allocations: 30.64 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/1.085, allocations: 7.656 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 5.94e-05/1.085, allocations: 19.56 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/1.085, allocations: 3.141 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/1.085, allocations: 30.61 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/1.085, allocations: 75 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.085, allocations: 0 / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.094e-06/1.085, allocations: 6.656 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.493e-06/1.085, allocations: 0 / 1.156 GB, free: 31.95 MB / 1.076 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.0003888/1.086, allocations: 303.1 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/1.086, allocations: 10.31 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/1.086, allocations: 3.719 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.24e-05/1.086, allocations: 117.3 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/1.086, allocations: 7.031 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/1.086, allocations: 5.969 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/1.086, allocations: 64.84 kB / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/1.086, allocations: 192 / 1.156 GB, free: 31.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.086, allocations: 11.92 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.086, allocations: 0 / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/1.086, allocations: 6.234 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/1.086, allocations: 227.8 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.175e-05/1.086, allocations: 25.42 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/1.086, allocations: 7.734 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/1.086, allocations: 3.938 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/1.086, allocations: 85.17 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/1.086, allocations: 0 / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001657/1.086, allocations: 67.03 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/1.086, allocations: 58.12 kB / 1.157 GB, free: 30.97 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.608e-05/1.087, allocations: 105.5 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.087, allocations: 32.45 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/1.087, allocations: 86.03 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-06/1.087, allocations: 3.953 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/1.087, allocations: 30.11 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/1.087, allocations: 318.2 kB / 1.157 GB, free: 30.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/1.087, allocations: 53.91 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.388e-05/1.087, allocations: 86.09 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.409e-05/1.087, allocations: 83.97 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.087, allocations: 0 / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002111/1.087, allocations: 180.9 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.087, allocations: 34.14 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.087, allocations: 2.969 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.087, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-05/1.087, allocations: 3.281 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/1.087, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/1.087, allocations: 31.59 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/1.087, allocations: 6.781 kB / 1.158 GB, free: 30.06 MB / 1.076 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 5.791e-05/1.087, allocations: 115.4 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/1.088, allocations: 10.77 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/1.088, allocations: 15.88 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.088, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.088, allocations: 0 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.088, allocations: 3.125 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.935e-05/1.088, allocations: 103.5 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.088, allocations: 0 / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-06/1.088, allocations: 10.75 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/1.088, allocations: 0 / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-06/1.088, allocations: 320 / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.088, allocations: 0 / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.088, allocations: 10.47 kB / 1.158 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.619e-05/1.088, allocations: 78.39 kB / 1.158 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-06/1.088, allocations: 14.77 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/1.088, allocations: 3.281 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.441e-05/1.088, allocations: 0 / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/1.088, allocations: 3.125 kB / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/1.088, allocations: 0 / 1.158 GB, free: 29.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.499e-05/1.088, allocations: 96.42 kB / 1.158 GB, free: 29.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.088, allocations: 0 / 1.158 GB, free: 29.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001987/1.088, allocations: 14.84 kB / 1.158 GB, free: 29.61 MB / 1.076 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.0001139/1.088, allocations: 100.9 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001813/1.088, allocations: 136.9 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.088, allocations: 0 / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/1.088, allocations: 12.95 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/1.089, allocations: 13.64 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/1.089, allocations: 134.1 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/1.089, allocations: 60.17 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.756e-05/1.089, allocations: 2.594 kB / 1.159 GB, free: 29.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/1.089, allocations: 11.28 kB / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.089, allocations: 0 / 1.159 GB, free: 29.18 MB / 1.076 GB Notification: Performance of Templates: time 0.003599/1.092, allocations: 1.184 MB / 1.16 GB, free: 29.03 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.04341463407036]