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.00105/0.00105, allocations: 80.39 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.001071/0.001071, allocations: 167.1 kB / 24.86 MB, free: 8.836 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.9966/0.9966, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.767/1.767, allocations: 359 MB / 0.6063 GB, free: 10.87 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.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.683e-06/1.683e-06, allocations: 0 / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.571e-05, allocations: 2.312 kB / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002735/0.00277, allocations: 1.541 MB / 0.7898 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003824, allocations: 0.7817 MB / 0.7906 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.003881, allocations: 4 kB / 0.7906 GB, free: 8.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.003911, allocations: 7.875 kB / 0.7906 GB, free: 8.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.003964, allocations: 8.484 kB / 0.7906 GB, free: 8.762 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.004492, allocations: 148.3 kB / 0.7907 GB, free: 8.617 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.004608, allocations: 84.84 kB / 0.7908 GB, free: 8.535 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.004694, allocations: 8.172 kB / 0.7908 GB, free: 8.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.00482, allocations: 55.88 kB / 0.7909 GB, free: 8.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.004873, allocations: 33.3 kB / 0.7909 GB, free: 8.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.004891, allocations: 8 kB / 0.7909 GB, free: 8.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.005104, allocations: 139.6 kB / 0.791 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.005127, allocations: 17.05 kB / 0.7911 GB, free: 8.281 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.005161, allocations: 27.91 kB / 0.7911 GB, free: 8.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.005367, allocations: 147.5 kB / 0.7912 GB, free: 8.109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005369, allocations: 1.562 kB / 0.7912 GB, free: 8.109 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/0.00537, allocations: 0 / 0.7912 GB, free: 8.109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.005375, allocations: 0 / 0.7912 GB, free: 8.109 MB / 0.698 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.0004851/0.00586, allocations: 449.5 kB / 0.7917 GB, free: 7.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.005898, allocations: 9.906 kB / 0.7917 GB, free: 7.621 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.006101, allocations: 36.86 kB / 0.7917 GB, free: 7.586 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.006239, allocations: 128.5 kB / 0.7918 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006258, allocations: 6.75 kB / 0.7918 GB, free: 7.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.006268, allocations: 8.312 kB / 0.7918 GB, free: 7.422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.006378, allocations: 74.91 kB / 0.7919 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.006385, allocations: 192 / 0.7919 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.006394, allocations: 4.125 kB / 0.7919 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.006398, allocations: 0 / 0.7919 GB, free: 7.336 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.006424, allocations: 12.61 kB / 0.7919 GB, free: 7.324 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.006757, allocations: 282 kB / 0.7922 GB, free: 7.023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.006e-05/0.006817, allocations: 46.92 kB / 0.7922 GB, free: 6.965 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.006839, allocations: 15.81 kB / 0.7923 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.006853, allocations: 0.75 kB / 0.7923 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.135e-05/0.006935, allocations: 69.75 kB / 0.7923 GB, free: 6.863 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.006936, allocations: 0 / 0.7923 GB, free: 6.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.007127, allocations: 99.05 kB / 0.7924 GB, free: 6.762 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.007167, allocations: 59.41 kB / 0.7925 GB, free: 6.691 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.007259, allocations: 185.2 kB / 0.7927 GB, free: 6.496 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.007274, allocations: 29.7 kB / 0.7927 GB, free: 6.461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.007339, allocations: 141.1 kB / 0.7928 GB, free: 6.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.007357, allocations: 19.89 kB / 0.7928 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.007398, allocations: 35.34 kB / 0.7929 GB, free: 6.258 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.007528, allocations: 0.4884 MB / 0.7933 GB, free: 5.758 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.007548, allocations: 7.984 kB / 0.7934 GB, free: 5.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.007583, allocations: 39.05 kB / 0.7934 GB, free: 5.699 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.007642, allocations: 59.98 kB / 0.7934 GB, free: 5.629 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007644, allocations: 0.5312 kB / 0.7934 GB, free: 5.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001/0.007744, allocations: 83.17 kB / 0.7935 GB, free: 5.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.007757, allocations: 8 kB / 0.7935 GB, free: 5.535 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007763, allocations: 4 kB / 0.7935 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.007773, allocations: 0.5938 kB / 0.7935 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.007844, allocations: 15.98 kB / 0.7936 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.007848, allocations: 5.25 kB / 0.7936 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.007882, allocations: 15.94 kB / 0.7936 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.007892, allocations: 4 kB / 0.7936 GB, free: 5.492 MB / 0.698 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 7.85e-05/0.00797, allocations: 165.7 kB / 0.7937 GB, free: 5.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.007983, allocations: 11.89 kB / 0.7937 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.008005, allocations: 9.812 kB / 0.7938 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008008, allocations: 7.938 kB / 0.7938 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.00801, allocations: 0 / 0.7938 GB, free: 5.293 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.008015, allocations: 5.734 kB / 0.7938 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.008257, allocations: 321.9 kB / 0.7941 GB, free: 4.941 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008258, allocations: 0 / 0.7941 GB, free: 4.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.008276, allocations: 4 kB / 0.7941 GB, free: 4.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.008279, allocations: 3.984 kB / 0.7941 GB, free: 4.934 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.008286, allocations: 5.281 kB / 0.7941 GB, free: 4.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.008287, allocations: 0 / 0.7941 GB, free: 4.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.008288, allocations: 0 / 0.7941 GB, free: 4.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.008425, allocations: 239.8 kB / 0.7943 GB, free: 4.676 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.008434, allocations: 12.55 kB / 0.7943 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008446, allocations: 4.828 kB / 0.7943 GB, free: 4.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.968e-05/0.008486, allocations: 4 kB / 0.7943 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.008515, allocations: 9.578 kB / 0.7943 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.008522, allocations: 4 kB / 0.7944 GB, free: 4.645 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.484e-05/0.008567, allocations: 131.2 kB / 0.7945 GB, free: 4.516 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008567, allocations: 0 / 0.7945 GB, free: 4.516 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001851/0.008752, allocations: 35.94 kB / 0.7945 GB, free: 4.48 MB / 0.698 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.0002847/0.009037, allocations: 184.4 kB / 0.7947 GB, free: 4.316 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.716e-05/0.009134, allocations: 47.59 kB / 0.7947 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009135, allocations: 0 / 0.7947 GB, free: 4.266 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.009168, allocations: 24.06 kB / 0.7948 GB, free: 4.238 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.009347, allocations: 24.08 kB / 0.7948 GB, free: 4.215 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.0098, allocations: 181.2 kB / 0.795 GB, free: 4.008 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.425e-05/0.009834, allocations: 63.28 kB / 0.795 GB, free: 3.926 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.009859, allocations: 4.906 kB / 0.795 GB, free: 3.922 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.009912, allocations: 75.05 kB / 0.7951 GB, free: 3.848 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/0.009912, allocations: 0 / 0.7951 GB, free: 3.848 MB / 0.698 GB Notification: Performance of Templates: time 0.003273/0.01318, allocations: 1.709 MB / 0.7968 GB, free: 2.172 MB / 0.698 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","",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.945018565747887]