Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001373/0.001373, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.00109/0.00109, allocations: 165 kB / 23.82 MB, free: 0.7422 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.009/1.009, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.732/1.732, allocations: 359 MB / 0.6052 GB, free: 11.02 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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.466e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003457/0.003492, allocations: 1.562 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.004934, allocations: 0.7881 MB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.004991, allocations: 3.938 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.00502, allocations: 8.984 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.005063, allocations: 11.88 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.00548, allocations: 140.9 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.605e-05/0.005576, allocations: 83.7 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.546e-05/0.005652, allocations: 9.234 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.005769, allocations: 55.88 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.005818, allocations: 27.95 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.005834, allocations: 5.562 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.006021, allocations: 143.6 kB / 0.7898 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.006043, allocations: 23.91 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.006073, allocations: 19.92 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.006263, allocations: 153 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.006266, allocations: 0 / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/0.006267, allocations: 0 / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.006272, allocations: 0 / 0.79 GB, free: 9.477 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.0004216/0.006693, allocations: 447.8 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.006723, allocations: 8.031 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.006953, allocations: 32.86 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.007085, allocations: 134.8 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.007104, allocations: 8.359 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.007116, allocations: 8.375 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.007229, allocations: 70.92 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-06/0.007235, allocations: 192 / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.007245, allocations: 4.75 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.00725, allocations: 0 / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.007283, allocations: 13.64 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.007614, allocations: 311.6 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.71e-05/0.007671, allocations: 36.38 kB / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.007705, allocations: 19.8 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.007724, allocations: 7.938 kB / 0.7911 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.164e-05/0.007795, allocations: 66.2 kB / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.007796, allocations: 0 / 0.7911 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001938/0.00799, allocations: 113.6 kB / 0.7913 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.008019, allocations: 52.78 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.008099, allocations: 184.8 kB / 0.7915 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.008111, allocations: 33.64 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.008154, allocations: 138.8 kB / 0.7916 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.008171, allocations: 21.64 kB / 0.7917 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.008207, allocations: 31.36 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.008312, allocations: 496.1 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.008338, allocations: 15.98 kB / 0.7922 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.008377, allocations: 43.05 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.00844, allocations: 56.52 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008442, allocations: 4 kB / 0.7923 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.942e-05/0.008541, allocations: 87.45 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.008551, allocations: 4 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.008555, allocations: 0 / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.008566, allocations: 4 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.00863, allocations: 18.23 kB / 0.7924 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.008635, allocations: 4 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.008672, allocations: 11.95 kB / 0.7924 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.008681, allocations: 7.984 kB / 0.7924 GB, free: 6.812 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 6.575e-05/0.008747, allocations: 164.5 kB / 0.7926 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.008759, allocations: 12.61 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.008779, allocations: 12.44 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.008781, allocations: 0.5312 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.008784, allocations: 1.656 kB / 0.7926 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008787, allocations: 3.984 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.009015, allocations: 349.3 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.009015, allocations: 0 / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.009036, allocations: 8.609 kB / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.009037, allocations: 0 / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.009045, allocations: 8.844 kB / 0.793 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.009046, allocations: 0 / 0.793 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009047, allocations: 0 / 0.793 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.009181, allocations: 252.6 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.009189, allocations: 7.953 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.0092, allocations: 1.281 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.009237, allocations: 0 / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.009268, allocations: 7.984 kB / 0.7932 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.009276, allocations: 8.688 kB / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.009315, allocations: 131.2 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009315, allocations: 0.875 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001805/0.009496, allocations: 39.92 kB / 0.7934 GB, free: 5.762 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.0002769/0.009773, allocations: 178.5 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.00989, allocations: 58.92 kB / 0.7936 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009891, allocations: 0 / 0.7936 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.01007, allocations: 27.67 kB / 0.7936 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.01025, allocations: 19.88 kB / 0.7937 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.01075, allocations: 182.6 kB / 0.7938 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.01078, allocations: 61.91 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.263e-05/0.0108, allocations: 6.062 kB / 0.7939 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.01083, allocations: 16.48 kB / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of SimCode: time 4.8e-07/0.01083, allocations: 0 / 0.7939 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.00317/0.014, allocations: 1.664 MB / 0.7955 GB, free: 3.539 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.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.939778650179505]