Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001608/0.001608, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.00163/0.00163, 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 0.9893/0.9893, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.872/1.872, allocations: 359 MB / 0.6052 GB, free: 10.99 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0.875 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.241e-05, allocations: 6.234 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001744/0.001766, allocations: 1.566 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.002723, allocations: 0.7907 MB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.00277, allocations: 4 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.0028, allocations: 3.938 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.002844, allocations: 7.875 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.003333, allocations: 147.4 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.003426, allocations: 80.52 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.427e-05/0.0035, allocations: 12.17 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.003611, allocations: 48.48 kB / 0.7897 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.003659, allocations: 41.38 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.003676, allocations: 4 kB / 0.7897 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.003857, allocations: 143.6 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.003876, allocations: 15.92 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.003908, allocations: 25.5 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.004105, allocations: 147.6 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004106, allocations: 0 / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004107, allocations: 0 / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.00411, allocations: 1.594 kB / 0.79 GB, free: 9.48 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.0004375/0.004548, allocations: 449.8 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.004577, allocations: 8.031 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.004755, allocations: 31.47 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.004906, allocations: 140.5 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.004927, allocations: 4.375 kB / 0.7906 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.004947, allocations: 4.375 kB / 0.7906 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.005083, allocations: 70.92 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.005094, allocations: 0.7188 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.005107, allocations: 8.781 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.005115, allocations: 0 / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.619e-05/0.005152, allocations: 17.33 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.005548, allocations: 295.7 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.724e-05/0.005626, allocations: 43.67 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.005656, allocations: 12.78 kB / 0.7911 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.005678, allocations: 11.88 kB / 0.7911 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.545e-05/0.005764, allocations: 69.16 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.005765, allocations: 0.75 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002523/0.006017, allocations: 105.7 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.006049, allocations: 56.11 kB / 0.7913 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.006135, allocations: 185.1 kB / 0.7915 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.006147, allocations: 26.98 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.006198, allocations: 146.8 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.006214, allocations: 11.91 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.006251, allocations: 35.92 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.006364, allocations: 0.4884 MB / 0.7922 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/0.00639, allocations: 9.375 kB / 0.7922 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.006431, allocations: 46.98 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.524e-05/0.006497, allocations: 60.02 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006498, allocations: 0 / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001058/0.006604, allocations: 98.7 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.006615, allocations: 4 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.006619, allocations: 0.8438 kB / 0.7924 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.006634, allocations: 4 kB / 0.7924 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.0067, allocations: 10.22 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.006707, allocations: 8.062 kB / 0.7924 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.006737, allocations: 3.953 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.006747, allocations: 7.984 kB / 0.7924 GB, free: 6.824 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.014e-05/0.006817, allocations: 171.1 kB / 0.7926 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.00683, allocations: 15.89 kB / 0.7926 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.00686, allocations: 12.42 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.006862, allocations: 0 / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.006864, allocations: 0 / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006867, allocations: 0 / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.007109, allocations: 349.4 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.00711, allocations: 0 / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.00713, allocations: 9.5 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007132, allocations: 0 / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.00714, allocations: 4 kB / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007141, allocations: 3.984 kB / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-07/0.007142, allocations: 0.5 kB / 0.7929 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.007278, allocations: 244.3 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.007286, allocations: 13.34 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.007298, allocations: 4 kB / 0.7932 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.055e-05/0.007339, allocations: 3.984 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.00737, allocations: 4 kB / 0.7932 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.007378, allocations: 8.484 kB / 0.7932 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.00742, allocations: 135.8 kB / 0.7933 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00742, allocations: 0 / 0.7933 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001892/0.00761, allocations: 40.78 kB / 0.7934 GB, free: 5.766 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.0002826/0.007892, allocations: 178.5 kB / 0.7935 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.008002, allocations: 47.66 kB / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008003, allocations: 0 / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.008041, allocations: 27.61 kB / 0.7936 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/0.008223, allocations: 19.94 kB / 0.7936 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.008723, allocations: 188.8 kB / 0.7938 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.008756, allocations: 56.3 kB / 0.7939 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.86e-05/0.008785, allocations: 13.52 kB / 0.7939 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.008811, allocations: 12.5 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.008811, allocations: 1.031 kB / 0.7939 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.003051/0.01186, allocations: 1.523 MB / 0.7954 GB, free: 3.688 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.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.2853726600296795]