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.001108/0.001108, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009498/0.0009498, allocations: 169 kB / 24.28 MB, free: 276 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.9873/0.9873, allocations: 177.1 MB / 204.6 MB, free: 5.273 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.821/1.821, allocations: 359 MB / 0.6055 GB, free: 10.98 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.894e-06/1.894e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.002e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002651/0.002681, allocations: 1.548 MB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00433/0.007011, allocations: 0.7907 MB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.965e-05/0.007091, allocations: 0 / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.007125, allocations: 3.938 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/0.007184, allocations: 15.8 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.00784, allocations: 139.5 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.007972, allocations: 84.47 kB / 0.7896 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.008065, allocations: 8.188 kB / 0.7896 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.008246, allocations: 60.41 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.008306, allocations: 29.48 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.008327, allocations: 8 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.008586, allocations: 139.6 kB / 0.7898 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.008612, allocations: 19.92 kB / 0.7899 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.008651, allocations: 19.97 kB / 0.7899 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.008898, allocations: 152.1 kB / 0.79 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.008901, allocations: 5.281 kB / 0.79 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.164e-06/0.008903, allocations: 3.984 kB / 0.79 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.008908, allocations: 0 / 0.79 GB, free: 9.762 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.003594/0.0125, allocations: 443.4 kB / 0.7905 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.01254, allocations: 8.031 kB / 0.7905 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/0.01283, allocations: 38.45 kB / 0.7905 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.01301, allocations: 132.5 kB / 0.7906 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.01303, allocations: 4.375 kB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.01305, allocations: 4.375 kB / 0.7906 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.01614, allocations: 71.55 kB / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.01615, allocations: 192 / 0.7907 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.01617, allocations: 14.03 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.01617, allocations: 0 / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.214e-05/0.01622, allocations: 11.98 kB / 0.7907 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.01666, allocations: 296.2 kB / 0.791 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.01674, allocations: 43.77 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.01678, allocations: 19.8 kB / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.0168, allocations: 13.19 kB / 0.7911 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.01692, allocations: 69.11 kB / 0.7912 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.01692, allocations: 0 / 0.7912 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002742/0.01719, allocations: 102.5 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.01723, allocations: 51.41 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.01734, allocations: 187 kB / 0.7915 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.01736, allocations: 25.7 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.01745, allocations: 142.8 kB / 0.7916 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.01748, allocations: 16.66 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.01753, allocations: 35.3 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01765, allocations: 0.4891 MB / 0.7922 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.01769, allocations: 8 kB / 0.7922 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.931e-05/0.01774, allocations: 44.33 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.147e-05/0.01782, allocations: 59.55 kB / 0.7923 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01782, allocations: 8 kB / 0.7923 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001531/0.01797, allocations: 98.55 kB / 0.7924 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.01799, allocations: 4.906 kB / 0.7924 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01799, allocations: 0 / 0.7924 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.01801, allocations: 4 kB / 0.7924 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.0181, allocations: 12.83 kB / 0.7924 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01811, allocations: 4 kB / 0.7924 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.01815, allocations: 6.172 kB / 0.7924 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.01816, allocations: 8 kB / 0.7924 GB, free: 7.105 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 8.92e-05/0.01825, allocations: 167.1 kB / 0.7926 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.01827, allocations: 19.88 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/0.0183, allocations: 11.16 kB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.0183, allocations: 0 / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.0183, allocations: 0 / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01831, allocations: 0 / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.01862, allocations: 353.4 kB / 0.7929 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01863, allocations: 0 / 0.7929 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.01866, allocations: 7.938 kB / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01866, allocations: 0 / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.01867, allocations: 5.516 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01867, allocations: 0 / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01867, allocations: 0 / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.01886, allocations: 243.8 kB / 0.7932 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.01887, allocations: 12.45 kB / 0.7932 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.01889, allocations: 4.547 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.279e-05/0.01895, allocations: 3.984 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.01899, allocations: 9.359 kB / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.019, allocations: 4 kB / 0.7932 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.01905, allocations: 135.2 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01905, allocations: 1.094 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002978/0.01935, allocations: 35.94 kB / 0.7934 GB, free: 6.055 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.0003707/0.01972, allocations: 178.8 kB / 0.7935 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.01987, allocations: 51.64 kB / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01987, allocations: 0 / 0.7936 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.02002, allocations: 27.61 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.02028, allocations: 23.92 kB / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.02233, allocations: 182.7 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.02236, allocations: 60.38 kB / 0.7939 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.806e-05/0.02239, allocations: 8.969 kB / 0.7939 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.02242, allocations: 12.5 kB / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.02242, allocations: 0 / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.003532/0.02595, allocations: 1.517 MB / 0.7954 GB, free: 3.98 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.265618487028405]