Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.002123/0.002123, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002328/0.002328, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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 1.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.949/2.949, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.099e-05, allocations: 6.578 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002864/0.002895, allocations: 1.534 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.00447, allocations: 0.7758 MB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.004519, allocations: 8.719 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.004547, allocations: 7.922 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.004611, allocations: 13.06 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.00521, allocations: 143.4 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.005353, allocations: 85.11 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.005429, allocations: 8.172 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.005578, allocations: 47.95 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.005648, allocations: 36.94 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.00567, allocations: 4 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.005965, allocations: 139.7 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.006, allocations: 21.42 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.912e-05/0.006069, allocations: 23.97 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.00645, allocations: 163.5 kB / 0.7893 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.006456, allocations: 4 kB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.006457, allocations: 0.5312 kB / 0.7893 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.006462, allocations: 1.094 kB / 0.7893 GB, free: 9.801 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007114/0.007173, allocations: 449.5 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.007211, allocations: 13.61 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.007575, allocations: 36.88 kB / 0.7898 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.007829, allocations: 140.4 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.007856, allocations: 6.078 kB / 0.7899 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.007876, allocations: 4.375 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.008118, allocations: 62.23 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.008132, allocations: 4.172 kB / 0.79 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.008152, allocations: 10.66 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.008156, allocations: 0 / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.008334, allocations: 27.98 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.00911, allocations: 311.6 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.009303, allocations: 47.67 kB / 0.7904 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.009424, allocations: 37.45 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.009451, allocations: 3.938 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.00967, allocations: 81.03 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.009671, allocations: 1.375 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0007291/0.0104, allocations: 145.8 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.01046, allocations: 55.41 kB / 0.7907 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.01068, allocations: 191.7 kB / 0.7908 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.01071, allocations: 29.7 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.01083, allocations: 138.9 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.01087, allocations: 15.83 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.01097, allocations: 43.95 kB / 0.7911 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003382/0.01131, allocations: 0.4884 MB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.01142, allocations: 24.92 kB / 0.7916 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.01157, allocations: 58.97 kB / 0.7916 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.01181, allocations: 84.98 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01181, allocations: 0 / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003735/0.01219, allocations: 123.6 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.01221, allocations: 6.344 kB / 0.7918 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.01222, allocations: 3.984 kB / 0.7918 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01224, allocations: 4 kB / 0.7918 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01237, allocations: 11.94 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01238, allocations: 4.531 kB / 0.7919 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.01248, allocations: 16.66 kB / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.0125, allocations: 0 / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001698/0.01267, allocations: 166.7 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.0127, allocations: 11.89 kB / 0.792 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.01273, allocations: 8.438 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.01274, allocations: 7.984 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01274, allocations: 0.5312 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.01276, allocations: 1.312 kB / 0.7921 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/0.01345, allocations: 377.3 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01345, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.0135, allocations: 9.141 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.0135, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.01352, allocations: 4 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.01353, allocations: 4.906 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01353, allocations: 0 / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.01403, allocations: 276.6 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.01405, allocations: 11.94 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.01408, allocations: 1.312 kB / 0.7927 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.0142, allocations: 7.938 kB / 0.7927 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.01426, allocations: 7.969 kB / 0.7927 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.01428, allocations: 8 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001229/0.0144, allocations: 137 kB / 0.7929 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0144, allocations: 4.719 kB / 0.7929 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005009/0.0149, allocations: 35.94 kB / 0.7929 GB, free: 5.828 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006161/0.01552, allocations: 171 kB / 0.7931 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.01587, allocations: 75.3 kB / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01587, allocations: 0 / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.01602, allocations: 47.81 kB / 0.7932 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.01639, allocations: 11.92 kB / 0.7932 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.01699, allocations: 190.6 kB / 0.7934 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.0171, allocations: 71.83 kB / 0.7934 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.832e-05/0.01714, allocations: 8.797 kB / 0.7935 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.01719, allocations: 13.84 kB / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01719, allocations: 0 / 0.7935 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of Templates: time 0.006809/0.024, allocations: 1.52 MB / 0.7949 GB, free: 3.727 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.018358325934969]