Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.0009475/0.0009475, 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.001016/0.001016, 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 0.9999/0.9999, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.836/1.836, 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/1.996e-05, allocations: 9.734 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001935/0.001955, allocations: 1.642 MB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.00317, allocations: 0.8444 MB / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.003236, allocations: 0 / 0.7895 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.003271, allocations: 13.22 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.003334, allocations: 23.78 kB / 0.7895 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.003917, allocations: 172.9 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004067, allocations: 143.5 kB / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.004161, allocations: 25.5 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.004308, allocations: 80.45 kB / 0.79 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.004387, allocations: 60.88 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.004415, allocations: 12 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.004646, allocations: 143.7 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.00468, allocations: 33.83 kB / 0.7902 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.00473, allocations: 39.89 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.004999, allocations: 199.4 kB / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005002, allocations: 0 / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.005002, allocations: 0 / 0.7904 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.005007, allocations: 0 / 0.7904 GB, free: 9.066 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006005/0.005607, allocations: 0.5049 MB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.005645, allocations: 8.031 kB / 0.7909 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.006012, allocations: 76.17 kB / 0.791 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.006194, allocations: 154.4 kB / 0.7911 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.006216, allocations: 8.375 kB / 0.7911 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.006236, allocations: 8.359 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.006399, allocations: 97.3 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.006409, allocations: 192 / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006422, allocations: 384 / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.00643, allocations: 3.938 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.006487, allocations: 19.98 kB / 0.7913 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.006988, allocations: 349.9 kB / 0.7916 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.007071, allocations: 39.05 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.007118, allocations: 31.67 kB / 0.7917 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.00714, allocations: 3.938 kB / 0.7917 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/0.007243, allocations: 94.59 kB / 0.7918 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.007245, allocations: 4 kB / 0.7918 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003005/0.007545, allocations: 141.5 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.007577, allocations: 55.41 kB / 0.792 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.007682, allocations: 200.8 kB / 0.7921 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.007698, allocations: 29.7 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.00776, allocations: 159.9 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.007781, allocations: 19.8 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.007826, allocations: 41.3 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.007939, allocations: 0.4923 MB / 0.7929 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.007977, allocations: 15.98 kB / 0.7929 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.008044, allocations: 64.8 kB / 0.7929 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.008141, allocations: 96.48 kB / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008143, allocations: 0 / 0.793 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001506/0.008294, allocations: 109.5 kB / 0.7931 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.008306, allocations: 8.531 kB / 0.7932 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.008311, allocations: 0 / 0.7932 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.008327, allocations: 0.7188 kB / 0.7932 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.008422, allocations: 28.03 kB / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.008428, allocations: 8.469 kB / 0.7932 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.008476, allocations: 13.52 kB / 0.7932 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.008488, allocations: 7.984 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.871e-05/0.008567, allocations: 166.8 kB / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.008588, allocations: 19.89 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.008615, allocations: 18.08 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008617, allocations: 0 / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.008621, allocations: 0 / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.008624, allocations: 1.156 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.008957, allocations: 413.4 kB / 0.7938 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008959, allocations: 0 / 0.7938 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.008986, allocations: 5.375 kB / 0.7938 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.008988, allocations: 0 / 0.7938 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.008999, allocations: 3.984 kB / 0.7938 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009, allocations: 4 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009001, allocations: 0.9062 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.0092, allocations: 283.7 kB / 0.7941 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.009211, allocations: 12.78 kB / 0.7941 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.00923, allocations: 7.984 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.009286, allocations: 1.281 kB / 0.7941 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.009331, allocations: 11.98 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.009343, allocations: 7.984 kB / 0.7941 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.009397, allocations: 146.4 kB / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009398, allocations: 0.5625 kB / 0.7943 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002238/0.009621, allocations: 52.66 kB / 0.7943 GB, free: 4.781 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002934/0.009915, allocations: 180.9 kB / 0.7945 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01008, allocations: 72.33 kB / 0.7946 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01008, allocations: 3.469 kB / 0.7946 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.775e-05/0.01014, allocations: 39.55 kB / 0.7946 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.01034, allocations: 19.92 kB / 0.7946 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.01092, allocations: 226 kB / 0.7948 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.01096, allocations: 63.84 kB / 0.7949 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.011, allocations: 10.78 kB / 0.7949 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.01103, allocations: 12.5 kB / 0.7949 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01103, allocations: 0.6562 kB / 0.7949 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.003961/0.01499, allocations: 2.059 MB / 0.7969 GB, free: 2.094 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.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: 5.360481862910092]