Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.001454/0.001454, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001245/0.001245, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.006/1.006, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.697/1.697, allocations: 359 MB / 0.6052 GB, free: 11 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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.243e-05, allocations: 3.062 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003457/0.00349, allocations: 1.566 MB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.00508, allocations: 0.7888 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.005154, allocations: 0 / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/0.005196, allocations: 5.156 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.005274, allocations: 15.86 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.006321, allocations: 144 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.006458, allocations: 73.17 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.006558, allocations: 16.16 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.006745, allocations: 59.83 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.006819, allocations: 28.73 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.006842, allocations: 8 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.007148, allocations: 143.7 kB / 0.7898 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.007183, allocations: 16.53 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.007233, allocations: 20.61 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.007547, allocations: 155.5 kB / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.007551, allocations: 0.9062 kB / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007552, allocations: 0 / 0.79 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.007558, allocations: 0 / 0.79 GB, free: 9.453 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.0006793/0.008237, allocations: 443.8 kB / 0.7905 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.008287, allocations: 12.03 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.008621, allocations: 38.45 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.008863, allocations: 128.5 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.008891, allocations: 4.375 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.008909, allocations: 4.375 kB / 0.7906 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.009113, allocations: 67.92 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.009122, allocations: 192 / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.009142, allocations: 19.17 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.009151, allocations: 0 / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.009206, allocations: 11.94 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.009759, allocations: 307.7 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.009863, allocations: 35 kB / 0.7911 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.009916, allocations: 27.73 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.009935, allocations: 0 / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.01006, allocations: 69.7 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.01006, allocations: 1.656 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003249/0.01039, allocations: 101.6 kB / 0.7912 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.01044, allocations: 55.48 kB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.01057, allocations: 181.9 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.01059, allocations: 29.7 kB / 0.7915 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.01067, allocations: 147.7 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.01069, allocations: 15.89 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.01075, allocations: 32.95 kB / 0.7917 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.0109, allocations: 0.4884 MB / 0.7922 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/0.01095, allocations: 15.98 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.01102, allocations: 43.05 kB / 0.7922 GB, free: 7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.01112, allocations: 48.41 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01112, allocations: 7.875 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001833/0.01131, allocations: 90.97 kB / 0.7924 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.01133, allocations: 8 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01133, allocations: 0 / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.01135, allocations: 0.5312 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.01146, allocations: 17.64 kB / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01147, allocations: 400 / 0.7924 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.01152, allocations: 11.95 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01154, allocations: 7.984 kB / 0.7924 GB, free: 6.797 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.0001123/0.01165, allocations: 173.3 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.01168, allocations: 7.953 kB / 0.7926 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.01171, allocations: 12.97 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01171, allocations: 4.469 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01172, allocations: 0 / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01172, allocations: 1.125 kB / 0.7926 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.01212, allocations: 349.4 kB / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01212, allocations: 0 / 0.7929 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.01216, allocations: 8.547 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01217, allocations: 4.469 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01218, allocations: 4 kB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01218, allocations: 1.375 kB / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01218, allocations: 0 / 0.7929 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.01242, allocations: 247.8 kB / 0.7932 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.01243, allocations: 5.109 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01245, allocations: 0 / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.01253, allocations: 4 kB / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.01257, allocations: 8.797 kB / 0.7932 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.01258, allocations: 0 / 0.7932 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.01265, allocations: 137.2 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01265, allocations: 0.9375 kB / 0.7933 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000381/0.01303, allocations: 43.92 kB / 0.7934 GB, free: 5.746 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.0004493/0.01348, allocations: 185.7 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.01366, allocations: 57.89 kB / 0.7936 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01366, allocations: 0 / 0.7936 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.689e-05/0.01372, allocations: 23.62 kB / 0.7936 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.01405, allocations: 17.86 kB / 0.7936 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.01486, allocations: 186.1 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.01492, allocations: 63.28 kB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.953e-05/0.01496, allocations: 4 kB / 0.7939 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.015, allocations: 12.5 kB / 0.7939 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/0.015, allocations: 0 / 0.7939 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.005574/0.02058, allocations: 1.674 MB / 0.7955 GB, free: 3.523 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.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.9446184523403645]