Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00732/0.00732, allocations: 96.3 kB / 15.73 MB, free: 6.484 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.001531/0.001531, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 66.55 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2852, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002066/0.2873, allocations: 0.8884 MB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2884, allocations: 0.8637 MB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.2885, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.003e-05/0.2886, allocations: 7.875 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2887, allocations: 15.8 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2889, allocations: 43.89 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.289, allocations: 111.7 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2891, allocations: 41.08 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2893, allocations: 51.84 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.113e-05/0.2894, allocations: 51.7 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.2894, allocations: 12 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.2894, allocations: 12 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.2895, allocations: 23.92 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.2895, allocations: 51.72 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2897, allocations: 127.5 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.2897, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 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.0008738/0.2906, allocations: 464.8 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2906, allocations: 8.031 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.2907, allocations: 20.83 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2909, allocations: 180.2 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2909, allocations: 8.375 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2909, allocations: 8.375 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2911, allocations: 94.14 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.2911, allocations: 192 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.2911, allocations: 7.938 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2912, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.2914, allocations: 63.95 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.2921, allocations: 404.5 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.2923, allocations: 62.5 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.2924, allocations: 32.97 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2924, allocations: 3.984 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2924, allocations: 30.56 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.2924, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003645/0.2928, allocations: 117.6 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.2928, allocations: 51.41 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.293, allocations: 169 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.293, allocations: 25.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.2931, allocations: 108.1 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2931, allocations: 11.89 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.2932, allocations: 21.7 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2933, allocations: 326.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.2934, allocations: 27.98 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.972e-05/0.2935, allocations: 31.97 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2936, allocations: 44.83 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2936, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002207/0.2938, allocations: 101.6 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2939, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2939, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2939, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.294, allocations: 15.92 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.294, allocations: 3.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.2942, allocations: 36.3 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.2942, allocations: 0 / 1.093 GB, free: 12.57 MB / 0.8575 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.409e-05/0.2943, allocations: 127.7 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.2944, allocations: 15.95 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.2944, allocations: 12.31 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2944, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2944, allocations: 3.938 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2944, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2946, allocations: 201.5 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2946, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.2947, allocations: 11.98 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2947, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2947, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2948, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2948, allocations: 3.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.295, allocations: 183.4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.2951, allocations: 89.06 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.2951, allocations: 4 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2953, allocations: 23.95 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.2954, allocations: 19.92 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2954, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.2955, allocations: 117.3 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2955, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002376/0.2957, allocations: 12 kB / 1.093 GB, free: 11.66 MB / 0.8575 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.000102/0.2958, allocations: 103.2 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.2961, allocations: 63.91 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2961, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.2962, allocations: 35.97 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2965, allocations: 15.94 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.2969, allocations: 203.5 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2972, allocations: 0.6924 MB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.478e-05/0.2973, allocations: 11.98 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.2973, allocations: 15.44 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.2973, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.003756/0.3011, allocations: 1.376 MB / 1.096 GB, free: 9.102 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches