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.00547/0.00547, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001347/0.001347, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.652/2.652, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 60.98 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2816, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002381/0.284, allocations: 0.9778 MB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2851, allocations: 0.8857 MB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.2852, allocations: 0 / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.2853, allocations: 3.938 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.2855, allocations: 19.84 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.2857, allocations: 35.98 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.2859, allocations: 127.6 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.286, allocations: 53.48 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.2862, allocations: 43.78 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2863, allocations: 47.77 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.2863, allocations: 8 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.2864, allocations: 4 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.2864, allocations: 31.84 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.2865, allocations: 43.73 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2866, allocations: 120 kB / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2866, allocations: 0 / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2866, allocations: 0 / 1.055 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.2867, allocations: 0 / 1.055 GB, free: 5.875 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.0006723/0.2873, allocations: 431 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2874, allocations: 15.97 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.2874, allocations: 12.84 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2877, allocations: 216.7 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2878, allocations: 8.375 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.2878, allocations: 16.12 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.288, allocations: 105.6 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.288, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.2881, allocations: 7.938 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2881, allocations: 4 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.2883, allocations: 75.89 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.2889, allocations: 408.3 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.2892, allocations: 78.67 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2893, allocations: 44.83 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2893, allocations: 0 / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2894, allocations: 34.5 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.2894, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003733/0.2898, allocations: 133.6 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2898, allocations: 51.41 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.29, allocations: 160.1 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.29, allocations: 29.7 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.2901, allocations: 108.3 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.2901, allocations: 19.73 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.2902, allocations: 29.72 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2903, allocations: 322.8 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.48e-05/0.2904, allocations: 27.98 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2905, allocations: 58.48 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.2907, allocations: 56.83 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2907, allocations: 4.031 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002331/0.2909, allocations: 113.6 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.2909, allocations: 8.031 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2909, allocations: 3.938 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.291, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.2911, allocations: 11.98 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2911, allocations: 4 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.2912, allocations: 8 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2912, allocations: 11.98 kB / 1.058 GB, free: 3.078 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.662e-05/0.2913, allocations: 113.8 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.2913, allocations: 15.84 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.2914, allocations: 12.72 kB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2914, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.2914, allocations: 0 / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2914, allocations: 15.88 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.2917, allocations: 217.4 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2917, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.2918, allocations: 15.98 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2918, allocations: 7.938 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2918, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2918, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2918, allocations: 0 / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.2921, allocations: 191.7 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.2921, allocations: 88.95 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.2922, allocations: 11.98 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2923, allocations: 4 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.2924, allocations: 15.97 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.2924, allocations: 3.938 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.227e-05/0.2925, allocations: 120.8 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2925, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002445/0.2927, allocations: 19.91 kB / 1.058 GB, free: 2.148 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.0001271/0.2929, allocations: 111.3 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.2931, allocations: 67.97 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2931, allocations: 4 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.2932, allocations: 35.91 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2936, allocations: 14.3 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/0.2941, allocations: 291.1 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2944, allocations: 0.7043 MB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.2944, allocations: 11.44 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.2944, allocations: 0 / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of Templates: time 0.003245/0.2977, allocations: 1.367 MB / 1.061 GB, free: 15.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