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.0009752/0.0009752, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 173 kB / 16.92 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 10.09 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001192/0.2912, allocations: 0.6349 MB / 1.06 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2924, allocations: 0.878 MB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.2925, allocations: 0 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.2925, allocations: 7.922 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.2927, allocations: 15.88 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.2928, allocations: 39.95 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.293, allocations: 123.6 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.2932, allocations: 45.5 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.2933, allocations: 43.78 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.65e-05/0.2934, allocations: 43.77 kB / 1.061 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2934, allocations: 4 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.2934, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.2934, allocations: 19.91 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.2935, allocations: 77.31 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.2936, allocations: 108 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2937, allocations: 4 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2937, allocations: 0 / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2937, allocations: 0 / 1.061 GB, free: 2.934 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.0005904/0.2943, allocations: 427 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2943, allocations: 15.97 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.2944, allocations: 8.844 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.2947, allocations: 212.8 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.2947, allocations: 8.375 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.2947, allocations: 12.12 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.295, allocations: 118.8 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.295, allocations: 0 / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.295, allocations: 4 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2951, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2953, allocations: 75.95 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.2959, allocations: 408.3 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.2963, allocations: 94.61 kB / 1.063 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2964, allocations: 44.83 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2964, allocations: 0 / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2964, allocations: 42.44 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.2965, allocations: 0 / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.2969, allocations: 137.5 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2969, allocations: 55.41 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2971, allocations: 151.8 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2971, allocations: 29.7 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.2972, allocations: 116.4 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.2972, allocations: 23.73 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.2972, allocations: 17.66 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2974, allocations: 322.8 kB / 1.064 GB, free: 456 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.535e-05/0.2975, allocations: 31.98 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2976, allocations: 62.55 kB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.2978, allocations: 65.02 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2978, allocations: 3.938 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002411/0.298, allocations: 121.5 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.298, allocations: 11.92 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2981, allocations: 4 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2981, allocations: 0 / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.2982, allocations: 12 kB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2982, allocations: 4.25 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.305e-05/0.2983, allocations: 15.98 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2983, allocations: 8 kB / 1.064 GB, free: 96 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.0001296/0.2985, allocations: 117.8 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.2985, allocations: 15.75 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.2985, allocations: 16.72 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2986, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.2986, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2986, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2988, allocations: 217.5 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2988, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.2989, allocations: 12 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2989, allocations: 3.938 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2989, allocations: 3.984 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2989, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2989, allocations: 4 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.2992, allocations: 207.3 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.2993, allocations: 92.89 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.2993, allocations: 8 kB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2994, allocations: 7.984 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.2995, allocations: 15.97 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.2995, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000104/0.2996, allocations: 121.4 kB / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2996, allocations: 0 / 1.065 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002324/0.2999, allocations: 19.91 kB / 1.065 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.0001186/0.3, allocations: 103.2 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.3002, allocations: 87.89 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3003, allocations: 288 / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3004, allocations: 31.98 kB / 1.065 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.0002939/0.3007, allocations: 15.92 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.3012, allocations: 300.8 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3015, allocations: 0.7004 MB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.3015, allocations: 19.42 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3015, allocations: 0 / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.003045/0.3046, allocations: 1.346 MB / 1.067 GB, free: 12.49 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/jenkins1/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