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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00141/0.00141, allocations: 108 kB / 15.6 MB, free: 132 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.001589/0.001589, allocations: 193.6 kB / 16.53 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 472.7 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 60.3 kB / 0.9121 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002131/0.2873, allocations: 0.8995 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2885, allocations: 0.9013 MB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.2885, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.2886, allocations: 7.875 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.2887, allocations: 19.73 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.2889, allocations: 43.94 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.289, allocations: 123.7 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.2892, allocations: 57.28 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.2893, allocations: 63.7 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.719e-05/0.2894, allocations: 47.77 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.2895, allocations: 12 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.22e-05/0.2895, allocations: 12 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.2895, allocations: 27.92 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.2896, allocations: 63.64 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.2898, allocations: 147.8 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2898, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2898, allocations: 3.938 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.2898, allocations: 4 kB / 1.071 GB, free: 7.926 MB / 0.8262 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.0006197/0.2904, allocations: 428.7 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2905, allocations: 12.03 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.2905, allocations: 16.75 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.2908, allocations: 217.8 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2909, allocations: 8.375 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.2909, allocations: 12.12 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.2911, allocations: 105.6 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2912, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2912, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2912, allocations: 7.938 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.2914, allocations: 71.89 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.292, allocations: 412.3 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.2923, allocations: 82.66 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.2924, allocations: 40.84 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.2924, allocations: 0 / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2925, allocations: 38.5 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.2925, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003837/0.2929, allocations: 125.4 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.2929, allocations: 55.41 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.293, allocations: 161.8 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.2931, allocations: 29.7 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.2932, allocations: 112.4 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.2932, allocations: 23.64 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.2933, allocations: 25.7 kB / 1.073 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2934, allocations: 318.8 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.2935, allocations: 35.97 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.2936, allocations: 54.5 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.2938, allocations: 56.83 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.2938, allocations: 4 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002241/0.294, allocations: 105.7 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.294, allocations: 7.938 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.294, allocations: 4.125 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2941, allocations: 3.938 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.2942, allocations: 19.98 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2942, allocations: 3.938 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.2943, allocations: 11.98 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.2943, allocations: 4 kB / 1.073 GB, free: 5.137 MB / 0.8262 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.667e-05/0.2944, allocations: 117.8 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.2944, allocations: 19.75 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.2945, allocations: 20.7 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2945, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2945, allocations: 3.938 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2945, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2948, allocations: 205.5 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2948, allocations: 0 / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.903e-05/0.2948, allocations: 11.98 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.2949, allocations: 7.938 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.2949, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2949, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2949, allocations: 4 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2951, allocations: 191.4 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.2952, allocations: 100.8 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.2952, allocations: 0 / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2953, allocations: 7.984 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.2954, allocations: 19.92 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.2954, allocations: 7.984 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.912e-05/0.2955, allocations: 116.1 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2955, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002426/0.2958, allocations: 20 kB / 1.074 GB, free: 4.199 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.0001344/0.2959, allocations: 99.77 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.2962, allocations: 83.89 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2962, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.13e-05/0.2963, allocations: 27.98 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.2966, allocations: 8 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.2971, allocations: 227.7 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.2973, allocations: 0.7079 MB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.417e-05/0.2974, allocations: 16.64 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.2975, allocations: 11.44 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2975, allocations: 0 / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.003877/0.3014, allocations: 1.147 MB / 1.076 GB, free: 1.824 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