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.001259/0.001259, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009704/0.0009704, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9439/0.9439, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.719/1.719, allocations: 359 MB / 0.6055 GB, free: 10.88 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.293e-06/1.293e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.831e-05, allocations: 3.562 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002493/0.002512, allocations: 1.561 MB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.003798, allocations: 0.7847 MB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.00386, allocations: 1.25 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.003888, allocations: 3.938 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.003945, allocations: 11.86 kB / 0.7898 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.004554, allocations: 148.8 kB / 0.79 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.00468, allocations: 71.78 kB / 0.7901 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.004771, allocations: 12.17 kB / 0.7901 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.004954, allocations: 53.11 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.257e-05/0.005017, allocations: 31.94 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.005039, allocations: 8 kB / 0.7902 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.005471, allocations: 144.2 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.005495, allocations: 17.33 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.005534, allocations: 23.91 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.005777, allocations: 147.6 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005779, allocations: 0 / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005779, allocations: 0.9688 kB / 0.7905 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.005783, allocations: 0 / 0.7905 GB, free: 9.211 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.0004831/0.006266, allocations: 454.7 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.006304, allocations: 12.03 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.006556, allocations: 29.91 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.006696, allocations: 137 kB / 0.7911 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.006714, allocations: 5.094 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.006728, allocations: 8.375 kB / 0.7911 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.006849, allocations: 64.58 kB / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.006856, allocations: 192 / 0.7912 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.006866, allocations: 4.125 kB / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.006872, allocations: 0 / 0.7912 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.006902, allocations: 13.17 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.007275, allocations: 292.3 kB / 0.7914 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.007334, allocations: 32.66 kB / 0.7915 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.00736, allocations: 15.67 kB / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.00738, allocations: 4 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/0.007466, allocations: 78.27 kB / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.007467, allocations: 0 / 0.7916 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002231/0.00769, allocations: 101.5 kB / 0.7917 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.007721, allocations: 54.44 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.007819, allocations: 188.9 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.007835, allocations: 25.7 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.007891, allocations: 138.8 kB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.007913, allocations: 15.88 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.007965, allocations: 39.34 kB / 0.7921 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.008121, allocations: 0.4884 MB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.861e-05/0.00815, allocations: 11.98 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.008198, allocations: 39.52 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.008272, allocations: 47.67 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.008275, allocations: 0.5312 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001442/0.008419, allocations: 90.78 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.008435, allocations: 4 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.008442, allocations: 0.5312 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.008458, allocations: 4 kB / 0.7928 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.008535, allocations: 17.3 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.008542, allocations: 4.391 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.293e-05/0.008585, allocations: 7.953 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.008595, allocations: 1.156 kB / 0.7928 GB, free: 6.609 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 9.671e-05/0.008692, allocations: 168.5 kB / 0.793 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.008711, allocations: 12.95 kB / 0.793 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.00874, allocations: 12.44 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008745, allocations: 3.984 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008747, allocations: 1.75 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.008751, allocations: 0 / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.009092, allocations: 341.8 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.009095, allocations: 0 / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.00912, allocations: 6.125 kB / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.009121, allocations: 0 / 0.7933 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.009132, allocations: 3.984 kB / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009133, allocations: 0 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.009135, allocations: 0 / 0.7933 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.009338, allocations: 239.7 kB / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.009352, allocations: 12.55 kB / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.009366, allocations: 0 / 0.7936 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.009434, allocations: 11.42 kB / 0.7936 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.009469, allocations: 4 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.009478, allocations: 3.984 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.009533, allocations: 135.2 kB / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009533, allocations: 0 / 0.7937 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000311/0.009844, allocations: 35.94 kB / 0.7938 GB, free: 5.586 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.0003359/0.01018, allocations: 179.9 kB / 0.7939 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.01031, allocations: 49.09 kB / 0.794 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01031, allocations: 0 / 0.794 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.01035, allocations: 23.67 kB / 0.794 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.0106, allocations: 20.39 kB / 0.794 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.01116, allocations: 185.3 kB / 0.7942 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.01121, allocations: 59.36 kB / 0.7942 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.01124, allocations: 8.797 kB / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.0113, allocations: 71.14 kB / 0.7943 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.0113, allocations: 7.938 kB / 0.7943 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.004101/0.0154, allocations: 1.687 MB / 0.796 GB, free: 3.293 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.709265153855085]