Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001042/0.001042, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006613/0.006613, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.91/2.91, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 9.375 kB / 0.9027 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2974, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001184/0.2986, allocations: 0.6349 MB / 1.059 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2999, allocations: 0.878 MB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.34e-05/0.3, allocations: 0 / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.3, allocations: 7.922 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3002, allocations: 15.86 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.3004, allocations: 39.97 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3006, allocations: 115.6 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.3008, allocations: 57.47 kB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3009, allocations: 39.8 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.301, allocations: 39.77 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.3011, allocations: 4 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.69e-05/0.3011, allocations: 4 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.3011, allocations: 15.92 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.952e-05/0.3012, allocations: 77.38 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3014, allocations: 139.7 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.3014, allocations: 4 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.379e-06/0.3014, allocations: 0 / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3014, allocations: 3.938 kB / 1.061 GB, free: 2.93 MB / 0.8106 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.0006077/0.302, allocations: 419 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3021, allocations: 15.97 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3021, allocations: 12.84 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.3024, allocations: 220.8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3025, allocations: 4.375 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.3025, allocations: 12.12 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.3027, allocations: 113.6 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3027, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3028, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3028, allocations: 4 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.303, allocations: 75.95 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.3036, allocations: 408.3 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.3039, allocations: 94.53 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.304, allocations: 44.84 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.304, allocations: 160 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3041, allocations: 42.47 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.3041, allocations: 4 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004021/0.3045, allocations: 133.5 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3045, allocations: 55.39 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3047, allocations: 151.8 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.3047, allocations: 37.69 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.3048, allocations: 108.3 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3048, allocations: 19.75 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.3049, allocations: 17.72 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.305, allocations: 322.8 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3051, allocations: 39.97 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3052, allocations: 58.56 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3054, allocations: 60.83 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3054, allocations: 0 / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002437/0.3057, allocations: 125.4 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3057, allocations: 7.938 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3057, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3057, allocations: 4.281 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.3058, allocations: 11.98 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3058, allocations: 0 / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.584e-05/0.306, allocations: 27.8 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.306, allocations: 4 kB / 1.063 GB, free: 100 kB / 0.8106 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.0001072/0.3061, allocations: 123.2 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.3061, allocations: 15.75 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.3062, allocations: 16.7 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3062, allocations: 8 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3062, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3062, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3064, allocations: 209.5 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3064, allocations: 8 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.695e-05/0.3065, allocations: 11.98 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.3065, allocations: 3.938 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3065, allocations: 8 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3065, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3066, allocations: 0 / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.3068, allocations: 203.4 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.3069, allocations: 88.94 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3069, allocations: 4 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.307, allocations: 11.98 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.3071, allocations: 11.98 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3071, allocations: 3.984 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.046e-05/0.3072, allocations: 124.1 kB / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3072, allocations: 0 / 1.064 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000236/0.3075, allocations: 19.91 kB / 1.064 GB, free: 15.15 MB / 0.8262 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.0001148/0.3076, allocations: 99.25 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.3078, allocations: 83.89 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3078, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.308, allocations: 43.97 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3083, allocations: 9.375 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.3087, allocations: 275 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.309, allocations: 0.7004 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.919e-05/0.3091, allocations: 12.66 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3091, allocations: 15.42 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3091, allocations: 0 / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of Templates: time 0.003245/0.3124, allocations: 0.9853 MB / 1.066 GB, free: 12.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches