Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.004636/0.004636, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 162 kB / 24.86 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9629/0.9629, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.737/1.737, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.526e-05, allocations: 9.062 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001959/0.001985, allocations: 0.9072 MB / 0.7892 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.003101, allocations: 0.95 MB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.003181, allocations: 4 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.003219, allocations: 9.031 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.003321, allocations: 19.73 kB / 0.7902 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.003529, allocations: 56.38 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.003674, allocations: 123.6 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.003796, allocations: 42.38 kB / 0.7904 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.003995, allocations: 80.77 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.004084, allocations: 39.83 kB / 0.7905 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.004106, allocations: 12.66 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.004155, allocations: 12 kB / 0.7905 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.004181, allocations: 29.56 kB / 0.7905 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.004219, allocations: 35.91 kB / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004372, allocations: 91.59 kB / 0.7907 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004374, allocations: 0 / 0.7907 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004375, allocations: 0 / 0.7907 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004379, allocations: 1.594 kB / 0.7907 GB, free: 9.824 MB / 0.7448 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.0004499/0.004829, allocations: 448 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.004862, allocations: 8.031 kB / 0.7911 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.005041, allocations: 40.34 kB / 0.7911 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.005204, allocations: 148.9 kB / 0.7913 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005218, allocations: 8.375 kB / 0.7913 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.005236, allocations: 16.36 kB / 0.7913 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.005377, allocations: 88.45 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005385, allocations: 192 / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.005396, allocations: 3.938 kB / 0.7914 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.005404, allocations: 4 kB / 0.7914 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.005454, allocations: 16.67 kB / 0.7914 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.00613, allocations: 348.7 kB / 0.7917 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.006279, allocations: 64.77 kB / 0.7918 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.00631, allocations: 23.62 kB / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.006323, allocations: 0 / 0.7918 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.006347, allocations: 38.06 kB / 0.7919 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.006348, allocations: 1.219 kB / 0.7919 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001807/0.006528, allocations: 73.73 kB / 0.7919 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.00656, allocations: 55.41 kB / 0.792 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.006666, allocations: 205.3 kB / 0.7922 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.006686, allocations: 30.77 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.006758, allocations: 162.7 kB / 0.7924 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.006781, allocations: 16.86 kB / 0.7924 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.006831, allocations: 31.36 kB / 0.7924 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.006964, allocations: 0.4884 MB / 0.7929 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.006992, allocations: 12.89 kB / 0.7929 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.007015, allocations: 8 kB / 0.7929 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.5e-05/0.00708, allocations: 36.62 kB / 0.7929 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007082, allocations: 0 / 0.7929 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001132/0.007195, allocations: 73.53 kB / 0.793 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007209, allocations: 9.344 kB / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007213, allocations: 0 / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.007221, allocations: 0 / 0.793 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.007284, allocations: 11.98 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007289, allocations: 10.78 kB / 0.793 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.007333, allocations: 7.938 kB / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.007339, allocations: 0 / 0.793 GB, free: 7.195 MB / 0.7448 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 8.224e-05/0.007422, allocations: 163.8 kB / 0.7932 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.007454, allocations: 11.95 kB / 0.7932 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.007481, allocations: 16.77 kB / 0.7932 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007483, allocations: 1.531 kB / 0.7932 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.007487, allocations: 7.938 kB / 0.7932 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.00749, allocations: 0 / 0.7932 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.007641, allocations: 125.2 kB / 0.7934 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007643, allocations: 4.625 kB / 0.7934 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.007685, allocations: 7.938 kB / 0.7934 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.007688, allocations: 4.562 kB / 0.7934 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.007696, allocations: 4.547 kB / 0.7934 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007698, allocations: 0.6875 kB / 0.7934 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007698, allocations: 3.938 kB / 0.7934 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.007853, allocations: 213.4 kB / 0.7936 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.007868, allocations: 7.953 kB / 0.7936 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.007889, allocations: 3.984 kB / 0.7936 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.007965, allocations: 4.812 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.008012, allocations: 15.97 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.008018, allocations: 5.781 kB / 0.7936 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.102e-05/0.008079, allocations: 151.1 kB / 0.7938 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008079, allocations: 0 / 0.7938 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002325/0.008311, allocations: 23.89 kB / 0.7938 GB, free: 6.391 MB / 0.7448 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 9.74e-05/0.008409, allocations: 103.9 kB / 0.7939 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.008515, allocations: 48.66 kB / 0.7939 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.008517, allocations: 0 / 0.7939 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.008556, allocations: 24.62 kB / 0.794 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.008809, allocations: 14.06 kB / 0.794 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.009384, allocations: 228.1 kB / 0.7942 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.009429, allocations: 66.39 kB / 0.7943 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.873e-05/0.009478, allocations: 10.2 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.009551, allocations: 78.2 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.009552, allocations: 1.031 kB / 0.7943 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.003236/0.01279, allocations: 1.185 MB / 0.7955 GB, free: 4.605 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.990977442357689]