Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 109.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 194.5 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.685/2.685, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.39 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 159.2 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002346/0.3238, allocations: 0.9642 MB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.325, allocations: 0.8896 MB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.3251, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.3251, allocations: 11.86 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3252, allocations: 11.86 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.3254, allocations: 43.97 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.3256, allocations: 123.6 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3258, allocations: 61.47 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3259, allocations: 47.8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.326, allocations: 63.73 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.3261, allocations: 12 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.3261, allocations: 15.94 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.3261, allocations: 23.92 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.064e-05/0.3262, allocations: 51.73 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.3264, allocations: 116 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3264, allocations: 0 / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3264, allocations: 4 kB / 1.067 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3264, allocations: 0 / 1.067 GB, free: 12.67 MB / 0.8419 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.0006765/0.3271, allocations: 431 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3271, allocations: 12.03 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3272, allocations: 8.844 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3275, allocations: 220.7 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3275, allocations: 16.31 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3275, allocations: 16.12 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3278, allocations: 99.7 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3278, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3278, allocations: 4 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3278, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.328, allocations: 75.89 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.3287, allocations: 404.3 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.329, allocations: 82.67 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3291, allocations: 44.83 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3291, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3291, allocations: 34.5 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.3291, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003815/0.3295, allocations: 133.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3296, allocations: 55.41 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3297, allocations: 155.3 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3298, allocations: 29.7 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.3298, allocations: 108.3 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3299, allocations: 15.75 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.3299, allocations: 29.7 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3301, allocations: 322.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.3302, allocations: 31.98 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3303, allocations: 58.48 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.3305, allocations: 60.77 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3305, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002334/0.3307, allocations: 109.4 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3308, allocations: 11.97 kB / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3308, allocations: 0 / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3308, allocations: 0 / 1.069 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.3309, allocations: 15.97 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3309, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.773e-05/0.331, allocations: 15.98 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.331, allocations: 0 / 1.069 GB, free: 9.895 MB / 0.8419 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.0001068/0.3311, allocations: 120.9 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3312, allocations: 23.75 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.3312, allocations: 16.7 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3312, allocations: 3.938 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3312, allocations: 4 kB / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3312, allocations: 0 / 1.069 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.3315, allocations: 221.5 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3315, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.3316, allocations: 11.98 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3316, allocations: 3.938 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3316, allocations: 8.266 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3316, allocations: 4 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3316, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3319, allocations: 191.4 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.3319, allocations: 88.95 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.332, allocations: 4 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3321, allocations: 7.984 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.3322, allocations: 23.97 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.3322, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.3323, allocations: 123.2 kB / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3323, allocations: 0 / 1.07 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002287/0.3325, allocations: 15.91 kB / 1.07 GB, free: 8.949 MB / 0.8419 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.000131/0.3327, allocations: 103.6 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.3329, allocations: 75.89 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3329, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.333, allocations: 35.97 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3333, allocations: 8 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.3338, allocations: 285.5 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3342, allocations: 0.7002 MB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.3343, allocations: 23.42 kB / 1.071 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3343, allocations: 3.938 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.00317/0.3374, allocations: 1.371 MB / 1.072 GB, free: 6.285 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches