Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007392/0.007392, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001745/0.001745, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.05 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002496/0.3009, allocations: 0.8693 MB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3021, allocations: 0.878 MB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.3022, allocations: 0 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.3023, allocations: 11.86 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3024, allocations: 15.8 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.3026, allocations: 43.89 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.3027, allocations: 103.7 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3029, allocations: 41.09 kB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.303, allocations: 51.83 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3032, allocations: 51.77 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.3032, allocations: 11.94 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.3032, allocations: 12 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.3033, allocations: 23.92 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.3033, allocations: 47.72 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.3035, allocations: 131.4 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3035, allocations: 4 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3035, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3036, allocations: 0 / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009385/0.3045, allocations: 458.9 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3046, allocations: 12.03 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.3046, allocations: 12.84 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3048, allocations: 188.2 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3048, allocations: 4.375 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.3048, allocations: 12.38 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.3051, allocations: 99.77 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3051, allocations: 192 / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.3051, allocations: 7.938 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3051, allocations: 4 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3053, allocations: 59.97 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.3061, allocations: 408.5 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.3063, allocations: 66.48 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.3064, allocations: 32.97 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3064, allocations: 0 / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3065, allocations: 34.56 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3065, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0003565/0.3068, allocations: 109.6 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3069, allocations: 55.41 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.307, allocations: 160.7 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3071, allocations: 33.64 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.3071, allocations: 108 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.3072, allocations: 11.89 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.3072, allocations: 25.72 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3074, allocations: 318.8 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3075, allocations: 31.98 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-05/0.3076, allocations: 27.98 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3077, allocations: 48.97 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3077, allocations: 0 / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002143/0.3079, allocations: 97.61 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.308, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.308, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.308, allocations: 8 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3081, allocations: 11.92 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3081, allocations: 3.938 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3083, allocations: 36 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3084, allocations: 256 / 1.171 GB, free: 1.828 MB / 0.92 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 (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 prepare postOptimizeDAE: time 9.808e-05/0.3085, allocations: 125.8 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.3085, allocations: 7.953 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.3085, allocations: 16.3 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3085, allocations: 8 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3086, allocations: 3.938 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3086, allocations: 0 / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3088, allocations: 197.6 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3088, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.3089, allocations: 8 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3089, allocations: 7.984 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3089, allocations: 0 / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3089, allocations: 3.938 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.3089, allocations: 7.938 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3092, allocations: 183.4 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.3093, allocations: 89.02 kB / 1.172 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.3093, allocations: 4 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.3095, allocations: 23.97 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.3096, allocations: 19.92 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3096, allocations: 3.984 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.279e-05/0.3097, allocations: 112.1 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3097, allocations: 3.938 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002451/0.3099, allocations: 16 kB / 1.172 GB, free: 0.9102 MB / 0.92 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 (5): * Single equations (assignments): 5 * 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.0001184/0.3101, allocations: 107.2 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3103, allocations: 63.91 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3103, allocations: 0 / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.3104, allocations: 31.98 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.3107, allocations: 14.17 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3112, allocations: 215.4 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.3116, allocations: 0.7002 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.987e-05/0.3117, allocations: 8 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.3117, allocations: 19.42 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.3117, allocations: 0 / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of Templates: time 0.004106/0.3158, allocations: 1.366 MB / 1.174 GB, free: 14.35 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches