Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.001391/0.001391, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001717/0.001717, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.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 3.555/3.555, allocations: 0.4899 GB / 0.7915 GB, free: 33.59 MB / 0.6231 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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer") [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.00203/0.00203, allocations: 69.7 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4013, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003135/0.4045, allocations: 1.493 MB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.4055, allocations: 482.8 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.4055, allocations: 4 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.4056, allocations: 3.938 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4057, allocations: 15.91 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.4058, allocations: 19.92 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.4059, allocations: 59.78 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.406, allocations: 8 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.4061, allocations: 23.86 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.4062, allocations: 27.89 kB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.4062, allocations: 4 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.4062, allocations: 8 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.4062, allocations: 8 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.4063, allocations: 27.86 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.4064, allocations: 43.81 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4064, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4064, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4064, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005964/0.407, allocations: 359.3 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.4071, allocations: 19.98 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/0.4071, allocations: 4.891 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.4073, allocations: 168.4 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.4073, allocations: 12.42 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.4073, allocations: 4.375 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4075, allocations: 61.81 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.4075, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4075, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4075, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.4076, allocations: 23.98 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.4081, allocations: 300.7 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.4082, allocations: 50.56 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.4083, allocations: 24.94 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.4083, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.4085, allocations: 75.42 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4085, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002501/0.4087, allocations: 109.5 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4088, allocations: 59.41 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.4088, allocations: 101.8 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.4089, allocations: 29.7 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.4089, allocations: 92.08 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.409, allocations: 27.78 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.409, allocations: 33.7 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4092, allocations: 318.8 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.214e-05/0.4092, allocations: 19.98 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.4093, allocations: 43.36 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.4094, allocations: 67.44 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4094, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001652/0.4096, allocations: 101.5 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4096, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4096, allocations: 0 / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4096, allocations: 4 kB / 1.325 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.4097, allocations: 8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4097, allocations: 7.922 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.4097, allocations: 7.953 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.4097, allocations: 8 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001247/0.4099, allocations: 129.1 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.4099, allocations: 4 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.4099, allocations: 11.95 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4099, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4099, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4099, allocations: 0 / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.4105, allocations: 358.3 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4105, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.4105, allocations: 4 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.4105, allocations: 480 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4105, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.4105, allocations: 11.92 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4105, allocations: 0 / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.4107, allocations: 179.4 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.4108, allocations: 81.34 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.4108, allocations: 3.984 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.4109, allocations: 15.94 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.411, allocations: 15.91 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.411, allocations: 8.062 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.377e-05/0.411, allocations: 87.27 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.411, allocations: 0 / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002385/0.4113, allocations: 12 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001137/0.4114, allocations: 101.8 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.4115, allocations: 47.92 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4115, allocations: 0 / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.4116, allocations: 31.92 kB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.4119, allocations: 8 kB / 1.326 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.4123, allocations: 161.4 kB / 1.327 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4127, allocations: 0.6846 MB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.4127, allocations: 15.98 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.4127, allocations: 11.44 kB / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4127, allocations: 0 / 1.327 GB, free: 12.14 MB / 1.029 GB Notification: Performance of Templates: time 0.003415/0.4162, allocations: 0.7774 MB / 1.328 GB, free: 11.37 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Continuous.Examples.OffTimer.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.552568990271538]