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.001962/0.001962, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002568/0.002568, allocations: 212.3 kB / 22.25 MB, free: 5.262 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.777 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.189/3.189, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.002073/0.002073, allocations: 65.47 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002331/0.3512, allocations: 0.881 MB / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3525, allocations: 0.9366 MB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.443e-05/0.3526, allocations: 0 / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.3526, allocations: 7.875 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.3528, allocations: 23.8 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.353, allocations: 51.88 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3532, allocations: 119.6 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3533, allocations: 33.7 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3535, allocations: 63.78 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3536, allocations: 43.77 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3537, allocations: 12 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.3537, allocations: 23.98 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.3538, allocations: 35.84 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.938e-05/0.3538, allocations: 43.8 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3541, allocations: 163.2 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3541, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3541, allocations: 0 / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3541, allocations: 0 / 1.328 GB, free: 15.43 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.0007627/0.3548, allocations: 361.7 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3549, allocations: 8.031 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.3552, allocations: 32.88 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.3557, allocations: 163.8 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3557, allocations: 8.375 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.3557, allocations: 8.125 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.3561, allocations: 114.9 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3561, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3561, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.3561, allocations: 7.984 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.3564, allocations: 71.89 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.3571, allocations: 316.2 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.3576, allocations: 78.61 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3577, allocations: 32.84 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3577, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3578, allocations: 34.55 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3578, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0005601/0.3583, allocations: 121.9 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.3584, allocations: 55.39 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3586, allocations: 143.7 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.3587, allocations: 33.7 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3588, allocations: 112 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.3589, allocations: 27.78 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.3589, allocations: 25.66 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3592, allocations: 326.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3593, allocations: 27.98 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3595, allocations: 106 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.3598, allocations: 56.83 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3598, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003319/0.3601, allocations: 117.6 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3601, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3601, allocations: 4.031 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3601, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3602, allocations: 11.98 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.3603, allocations: 7.938 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3604, allocations: 11.98 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3604, allocations: 4 kB / 1.33 GB, free: 12.85 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.0001409/0.3605, allocations: 118.4 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.3606, allocations: 15.84 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.3606, allocations: 16.72 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3606, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3606, allocations: 0 / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3607, allocations: 3.984 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.3609, allocations: 141.3 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3609, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.361, allocations: 15.92 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.361, allocations: 7.938 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.361, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3611, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3611, allocations: 0 / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3614, allocations: 199.4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.3614, allocations: 15.95 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3615, allocations: 7.938 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.3616, allocations: 11.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.3617, allocations: 15.97 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3617, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001164/0.3618, allocations: 109.1 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3618, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003456/0.3622, allocations: 23.89 kB / 1.331 GB, free: 12.1 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.0001525/0.3623, allocations: 111.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3627, allocations: 71.89 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3627, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3628, allocations: 31.98 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.3633, allocations: 12.22 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.364, allocations: 228 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3642, allocations: 92.98 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.16e-05/0.3642, allocations: 4 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.3643, allocations: 19.42 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3643, allocations: 0 / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Templates: time 0.00559/0.3699, allocations: 1.183 MB / 1.333 GB, free: 10.32 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/jenkins/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.96855759061873]