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.001504/0.001504, allocations: 99.67 kB / 16.35 MB, free: 5.824 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.001755/0.001756, allocations: 193.8 kB / 17.29 MB, free: 5.48 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.53 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002424/0.304, allocations: 0.9188 MB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3051, allocations: 0.8935 MB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.3052, allocations: 3.938 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.3052, allocations: 15.86 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.903e-05/0.3053, allocations: 15.75 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.3055, allocations: 39.95 kB / 1.029 GB, free: 196 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3057, allocations: 127.7 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3059, allocations: 53.5 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.306, allocations: 63.7 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3062, allocations: 51.77 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3062, allocations: 12 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.3062, allocations: 12 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.3063, allocations: 23.92 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.3063, allocations: 67.64 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.3065, allocations: 159.4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3065, allocations: 4 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3065, allocations: 0 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3066, allocations: 0 / 1.029 GB, free: 15.62 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.0006325/0.3072, allocations: 427 kB / 1.03 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3072, allocations: 8.031 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.3073, allocations: 12.84 kB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.3076, allocations: 216.8 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3076, allocations: 8.375 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3076, allocations: 16.12 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.3079, allocations: 103.3 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3079, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3079, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3079, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3081, allocations: 75.95 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3087, allocations: 400.3 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.309, allocations: 82.59 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.3091, allocations: 44.78 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3091, allocations: 8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.3092, allocations: 34.5 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.3092, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003667/0.3095, allocations: 121.5 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3096, allocations: 51.41 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3098, allocations: 168.1 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.3098, allocations: 29.7 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3099, allocations: 112.4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3099, allocations: 23.67 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.31, allocations: 25.72 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3101, allocations: 322.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.958e-05/0.3102, allocations: 31.97 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3103, allocations: 58.5 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3104, allocations: 56.83 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3105, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002193/0.3107, allocations: 113.4 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3107, allocations: 7.938 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3107, allocations: 32 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3108, allocations: 8 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3109, allocations: 15.92 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.3109, allocations: 0 / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.311, allocations: 7.984 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.311, allocations: 4 kB / 1.032 GB, free: 12.84 MB / 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 9.675e-05/0.3111, allocations: 125.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3112, allocations: 11.84 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.3112, allocations: 20.72 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3112, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3112, allocations: 3.984 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3112, allocations: 3.984 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.3115, allocations: 217.5 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3115, allocations: 0 / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.3116, allocations: 11.98 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3116, allocations: 4.219 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3116, allocations: 4 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3116, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3116, allocations: 11.88 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3119, allocations: 195.3 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.312, allocations: 92.94 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.312, allocations: 4 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3121, allocations: 8 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.3122, allocations: 11.97 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3122, allocations: 8 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.525e-05/0.3123, allocations: 118.3 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3123, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002393/0.3126, allocations: 23.91 kB / 1.032 GB, free: 11.88 MB / 0.8106 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.0001264/0.3127, allocations: 103.2 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.3129, allocations: 71.91 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.313, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3131, allocations: 35.97 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3134, allocations: 9.125 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.3139, allocations: 227.3 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.3142, allocations: 0.7041 MB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.132e-05/0.3142, allocations: 4.672 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.3143, allocations: 15.42 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.3143, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of Templates: time 0.003681/0.318, allocations: 1.145 MB / 1.035 GB, free: 9.527 MB / 0.8106 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 -s gbode -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