Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.00158/0.00158, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001864/0.001864, allocations: 214.1 kB / 23.01 MB, free: 4.57 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.159/3.159, allocations: 0.49 GB / 0.7958 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [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.002022/0.002022, allocations: 66.08 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4041, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002222/0.4063, allocations: 0.9205 MB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00135/0.4076, allocations: 0.9445 MB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.4077, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.881e-05/0.4078, allocations: 11.81 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.294e-05/0.4079, allocations: 19.8 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.4081, allocations: 43.94 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.4083, allocations: 127.6 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4084, allocations: 37.7 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.4086, allocations: 51.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.4087, allocations: 63.77 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.4087, allocations: 12 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.4088, allocations: 16 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.4088, allocations: 39.83 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.895e-05/0.4089, allocations: 55.67 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.4091, allocations: 155.3 kB / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4091, allocations: 0 / 1.33 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4091, allocations: 3.938 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.4091, allocations: 0 / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006495/0.4097, allocations: 361.7 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4098, allocations: 8.031 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.41, allocations: 32.86 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.4103, allocations: 163 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4103, allocations: 12.36 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.4104, allocations: 12.12 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4106, allocations: 111.4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4106, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.4107, allocations: 8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4107, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.4109, allocations: 71.89 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.4115, allocations: 367.6 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.4117, allocations: 70.67 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.4119, allocations: 44.83 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4119, allocations: 0 / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4119, allocations: 38.5 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.4119, allocations: 0 / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003815/0.4123, allocations: 133.8 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.4123, allocations: 51.41 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4125, allocations: 156.2 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4125, allocations: 29.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.4126, allocations: 112.2 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.4126, allocations: 23.86 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.4127, allocations: 25.7 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4128, allocations: 322.8 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.4129, allocations: 27.98 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.413, allocations: 54.55 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.4132, allocations: 68.92 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4132, allocations: 0 / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002464/0.4134, allocations: 105.6 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4135, allocations: 7.938 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.4135, allocations: 3.984 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4135, allocations: 0 / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.127e-05/0.4136, allocations: 8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4136, allocations: 4.312 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.4137, allocations: 23.88 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4137, allocations: 4 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001056/0.4138, allocations: 121.8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.4138, allocations: 15.88 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.4138, allocations: 12.72 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4138, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4138, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4139, allocations: 7.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.4141, allocations: 192.6 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4141, allocations: 3.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.4142, allocations: 8 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4142, allocations: 7.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4142, allocations: 3.984 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4142, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4142, allocations: 7.969 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.4144, allocations: 191.5 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.4145, allocations: 15.89 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4145, allocations: 8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4146, allocations: 7.984 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.4147, allocations: 19.97 kB / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.4147, allocations: 0 / 1.333 GB, free: 11.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.111e-05/0.4148, allocations: 129.3 kB / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4148, allocations: 0 / 1.333 GB, free: 11.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002379/0.415, allocations: 19.89 kB / 1.333 GB, free: 11.52 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001247/0.4151, allocations: 111.2 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.4154, allocations: 68 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4154, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.47e-05/0.4155, allocations: 39.91 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.4158, allocations: 9.875 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.4163, allocations: 253.7 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4166, allocations: 0.7002 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.4167, allocations: 15.44 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4167, allocations: 0 / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of Templates: time 0.003186/0.4198, allocations: 1.387 MB / 1.335 GB, free: 8.883 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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: 11.272839452984044]