Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.0009938/0.0009938, allocations: 81.95 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.0009852/0.0009852, allocations: 166 kB / 24.87 MB, free: 9.258 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.9239/0.9239, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.746/1.746, allocations: 359 MB / 0.6063 GB, free: 10.89 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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.244e-05, allocations: 5.359 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002303/0.002325, allocations: 1.551 MB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.003444, allocations: 0.7887 MB / 0.7906 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.003495, allocations: 4.906 kB / 0.7906 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.003524, allocations: 3.938 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.258e-05/0.003576, allocations: 12.73 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.004072, allocations: 148.8 kB / 0.7907 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.004177, allocations: 75.77 kB / 0.7908 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.004255, allocations: 8.188 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.004374, allocations: 58.91 kB / 0.7909 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.004424, allocations: 27.95 kB / 0.7909 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.004442, allocations: 8 kB / 0.7909 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.004663, allocations: 143.5 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.004685, allocations: 15.98 kB / 0.7911 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.004718, allocations: 23.91 kB / 0.7911 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.004922, allocations: 151.5 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.004923, allocations: 0 / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004924, allocations: 1.188 kB / 0.7912 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.004927, allocations: 0 / 0.7912 GB, free: 9.234 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.0004534/0.005381, allocations: 449.9 kB / 0.7917 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.005414, allocations: 8.625 kB / 0.7917 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.005642, allocations: 37.98 kB / 0.7917 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.005782, allocations: 133 kB / 0.7918 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.005797, allocations: 384 / 0.7918 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.00581, allocations: 9 kB / 0.7918 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.00592, allocations: 67.48 kB / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005926, allocations: 192 / 0.7919 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005935, allocations: 4.844 kB / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005941, allocations: 0 / 0.7919 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.952e-05/0.00597, allocations: 17.36 kB / 0.7919 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.006318, allocations: 280.4 kB / 0.7922 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.00638, allocations: 44.73 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.006404, allocations: 11.69 kB / 0.7922 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.006417, allocations: 7.938 kB / 0.7923 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/0.006503, allocations: 70.62 kB / 0.7923 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.006504, allocations: 0 / 0.7923 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002012/0.006705, allocations: 97.55 kB / 0.7924 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.006739, allocations: 55.41 kB / 0.7925 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.006827, allocations: 182.4 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.006842, allocations: 29.7 kB / 0.7927 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.006895, allocations: 140.5 kB / 0.7928 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.006914, allocations: 15.89 kB / 0.7928 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.00696, allocations: 39.34 kB / 0.7929 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.007085, allocations: 0.4884 MB / 0.7933 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.007112, allocations: 10.27 kB / 0.7933 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.007152, allocations: 42.98 kB / 0.7934 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.564e-05/0.007218, allocations: 54.97 kB / 0.7934 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007219, allocations: 0 / 0.7934 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001169/0.007336, allocations: 86.34 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.007349, allocations: 10.28 kB / 0.7935 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007354, allocations: 4 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.007364, allocations: 0.5 kB / 0.7935 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.98e-05/0.007434, allocations: 21.52 kB / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.007437, allocations: 0 / 0.7936 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/0.007477, allocations: 11.94 kB / 0.7936 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.007487, allocations: 8 kB / 0.7936 GB, free: 6.621 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 7.249e-05/0.00756, allocations: 161.1 kB / 0.7937 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.007576, allocations: 12.64 kB / 0.7937 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.95e-05/0.007596, allocations: 8.438 kB / 0.7937 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.007597, allocations: 5.156 kB / 0.7938 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.007599, allocations: 0 / 0.7938 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007603, allocations: 7.922 kB / 0.7938 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.007859, allocations: 326.6 kB / 0.7941 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.007861, allocations: 4 kB / 0.7941 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.00788, allocations: 0.6562 kB / 0.7941 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.007881, allocations: 0.8438 kB / 0.7941 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.007889, allocations: 7.984 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.00789, allocations: 1.906 kB / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.007891, allocations: 0 / 0.7941 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.008047, allocations: 247.7 kB / 0.7943 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.008057, allocations: 7.953 kB / 0.7943 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.00807, allocations: 3.984 kB / 0.7943 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.008129, allocations: 4.719 kB / 0.7943 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.008155, allocations: 3.984 kB / 0.7943 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.008162, allocations: 6.375 kB / 0.7943 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.008208, allocations: 140.5 kB / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008208, allocations: 0 / 0.7945 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002588/0.008467, allocations: 31.94 kB / 0.7945 GB, free: 5.609 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.0002624/0.008729, allocations: 169.4 kB / 0.7947 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.008835, allocations: 43.59 kB / 0.7947 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.008836, allocations: 0.5 kB / 0.7947 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.008876, allocations: 29.52 kB / 0.7947 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.009104, allocations: 24.47 kB / 0.7948 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.00957, allocations: 189.1 kB / 0.7949 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.009604, allocations: 59.34 kB / 0.795 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.009632, allocations: 5.094 kB / 0.795 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.009683, allocations: 78.14 kB / 0.7951 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.009684, allocations: 0.6562 kB / 0.7951 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.003694/0.01338, allocations: 1.709 MB / 0.7968 GB, free: 3.285 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.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.867489014286548]