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.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.001377/0.001377, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001604/0.001604, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.59/1.59, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.908/2.908, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003328/0.003328, allocations: 67.83 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9857/0.989, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001779/0.9908, allocations: 0.6028 MB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.9922, allocations: 1.131 MB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.9923, allocations: 1.375 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.9923, allocations: 4.594 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.9924, allocations: 6.109 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.9929, allocations: 121.1 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000182/0.9931, allocations: 86.09 kB / 1.188 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.9932, allocations: 16.19 kB / 1.188 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.025e-05/0.9933, allocations: 36.2 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.9934, allocations: 25.67 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.9934, allocations: 8.25 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.9935, allocations: 21.02 kB / 1.189 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.9935, allocations: 5.875 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.9936, allocations: 27.34 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.9938, allocations: 80.38 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9938, allocations: 4.938 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9938, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.9938, allocations: 0 / 1.189 GB, free: 14.8 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.0004957/0.9943, allocations: 300.1 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.9943, allocations: 9.812 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.9944, allocations: 4.969 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.978e-05/0.9945, allocations: 110.6 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.9945, allocations: 7.578 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.9945, allocations: 4.125 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.9947, allocations: 60.5 kB / 1.189 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.9947, allocations: 4.188 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.9947, allocations: 5.734 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.9947, allocations: 0 / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.828e-05/0.9947, allocations: 8.578 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.9951, allocations: 230.6 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/0.9951, allocations: 18.34 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.9952, allocations: 11.62 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.9952, allocations: 3.938 kB / 1.189 GB, free: 14.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.9954, allocations: 89.55 kB / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.9954, allocations: 0 / 1.19 GB, free: 13.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0002108/0.9956, allocations: 68.92 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.9956, allocations: 53.02 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.9957, allocations: 109.1 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.9957, allocations: 28.72 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.9958, allocations: 83.47 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.9958, allocations: 9.094 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.9958, allocations: 30.62 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.9959, allocations: 317.5 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.996, allocations: 59.69 kB / 1.19 GB, free: 13.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.9961, allocations: 78.39 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.9962, allocations: 88.39 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9962, allocations: 4.516 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002609/0.9964, allocations: 180.1 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.9965, allocations: 38.5 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9965, allocations: 0.7031 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9965, allocations: 1.156 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.989e-05/0.9965, allocations: 6.75 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9965, allocations: 1.031 kB / 1.191 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.9967, allocations: 28.75 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.9968, allocations: 5.141 kB / 1.191 GB, free: 12.91 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 7.489e-05/0.9968, allocations: 120.7 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.9968, allocations: 6.984 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.9969, allocations: 4 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9969, allocations: 1.734 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9969, allocations: 1.125 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.9969, allocations: 0 / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.286e-05/0.997, allocations: 106.4 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.997, allocations: 4 kB / 1.191 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-06/0.997, allocations: 5.688 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.997, allocations: 0 / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.997, allocations: 1.891 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.997, allocations: 1.406 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.997, allocations: 3.938 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.962e-05/0.9971, allocations: 81.67 kB / 1.191 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.9971, allocations: 5.953 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.9971, allocations: 1.984 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.651e-05/0.9971, allocations: 5.734 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.9972, allocations: 6.375 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.9972, allocations: 5.734 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.221e-05/0.9972, allocations: 86.12 kB / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9972, allocations: 0 / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002306/0.9974, allocations: 14.94 kB / 1.191 GB, free: 12.47 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.0001426/0.9976, allocations: 105.9 kB / 1.191 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.9978, allocations: 133.1 kB / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.9978, allocations: 0 / 1.191 GB, free: 12.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.9978, allocations: 15.94 kB / 1.191 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.998, allocations: 18.52 kB / 1.191 GB, free: 12.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.9984, allocations: 122.4 kB / 1.191 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.9984, allocations: 61.67 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.9985, allocations: 3.406 kB / 1.192 GB, free: 12.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.9985, allocations: 9.781 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9985, allocations: 5.188 kB / 1.192 GB, free: 12.05 MB / 1.076 GB Notification: Performance of Templates: time 0.004627/1.003, allocations: 1.174 MB / 1.193 GB, free: 11.91 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.306921471026726]