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.001641/0.001641, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001993/0.001993, allocations: 216.6 kB / 23 MB, free: 4.969 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.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.002047/0.002047, allocations: 64.02 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3141, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002448/0.3165, allocations: 0.8874 MB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3179, allocations: 0.9288 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.021e-05/0.318, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.897e-05/0.318, allocations: 7.875 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3181, allocations: 15.81 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.3184, allocations: 51.88 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3185, allocations: 123.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3187, allocations: 41.69 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3189, allocations: 59.73 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.319, allocations: 55.75 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.319, allocations: 12 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.173e-05/0.319, allocations: 20 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.3191, allocations: 31.91 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.3191, allocations: 47.73 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.3194, allocations: 163.2 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3194, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3194, allocations: 0 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.3194, allocations: 0 / 1.329 GB, free: 14.5 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.0006661/0.3201, allocations: 357.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3201, allocations: 8.031 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.3204, allocations: 32.86 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.3206, allocations: 167 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3207, allocations: 8.375 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3207, allocations: 8.125 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3209, allocations: 105.6 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3209, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.321, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.321, allocations: 7.938 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3212, allocations: 69.33 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3217, allocations: 320.2 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.322, allocations: 78.53 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.958e-05/0.3221, allocations: 36.91 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3221, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3222, allocations: 34.56 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3222, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003921/0.3226, allocations: 121.7 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.3226, allocations: 55.34 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3227, allocations: 147.9 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3228, allocations: 29.7 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.3229, allocations: 119.9 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3229, allocations: 27.78 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.3229, allocations: 25.72 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3231, allocations: 318.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.3232, allocations: 31.98 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3233, allocations: 106 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3235, allocations: 64.91 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3235, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002283/0.3237, allocations: 101.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3238, allocations: 15.97 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3238, allocations: 416 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3238, allocations: 3.938 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.079e-05/0.3239, allocations: 15.92 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3239, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.324, allocations: 12 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.324, allocations: 3.984 kB / 1.332 GB, free: 11.91 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.0001099/0.3241, allocations: 129.2 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.3241, allocations: 19.84 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.3242, allocations: 12.72 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3242, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3242, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.3242, allocations: 11.95 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.3242, allocations: 7.984 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3244, allocations: 4 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.3244, allocations: 19.97 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003159/0.3247, allocations: 180.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003161/0.325, allocations: 274.7 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.046e-05/0.3251, allocations: 31.97 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.301e-05/0.3252, allocations: 109.1 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of Backend: time 1.5e-07/0.3252, allocations: 0 / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.3257, allocations: 122.3 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006846/0.3264, allocations: 0.6651 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of Templates: time 0.004462/0.3308, allocations: 1.491 MB / 1.335 GB, free: 8.781 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: 8.914076512002794]