Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001438/0.001438, allocations: 109.5 kB / 19.7 MB, free: 2.266 MB / 14.72 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.001586/0.001586, allocations: 216.9 kB / 23.01 MB, free: 4.59 MB / 14.72 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.925/2.925, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 66.5 kB / 1.178 GB, free: 16.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002552/0.2831, allocations: 1.542 MB / 1.356 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.2844, allocations: 0.7601 MB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.2844, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.347e-05/0.2845, allocations: 7.922 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.2845, allocations: 19.86 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004687/0.285, allocations: 131.6 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2851, allocations: 83.77 kB / 1.357 GB, free: 5.406 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.2852, allocations: 11.78 kB / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2853, allocations: 43.84 kB / 1.357 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.2854, allocations: 47.7 kB / 1.357 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.2854, allocations: 8 kB / 1.357 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.2857, allocations: 127.8 kB / 1.357 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.2857, allocations: 31.92 kB / 1.357 GB, free: 5.145 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.2858, allocations: 55.59 kB / 1.357 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.286, allocations: 195.2 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.286, allocations: 0 / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.233e-06/0.286, allocations: 0 / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.286, allocations: 3.938 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006334/0.2867, allocations: 424.1 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2867, allocations: 12.03 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.2871, allocations: 36.81 kB / 1.358 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.2873, allocations: 150.2 kB / 1.358 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2873, allocations: 4.375 kB / 1.358 GB, free: 4.223 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.2873, allocations: 4.375 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.2876, allocations: 193.9 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2876, allocations: 0 / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2876, allocations: 0 / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2876, allocations: 4 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2878, allocations: 107.7 kB / 1.358 GB, free: 3.914 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.2883, allocations: 343.5 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.2885, allocations: 110.9 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2887, allocations: 105.1 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.2887, allocations: 0 / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.2889, allocations: 216.3 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=40): time 1.313e-06/0.2889, allocations: 3.938 kB / 1.359 GB, free: 3.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.0008353/0.2898, allocations: 0.5752 MB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.2898, allocations: 91.36 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.29, allocations: 141.7 kB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.29, allocations: 53.69 kB / 1.36 GB, free: 2.195 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.2901, allocations: 101.1 kB / 1.36 GB, free: 2.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.2902, allocations: 107.2 kB / 1.36 GB, free: 1.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2903, allocations: 93.67 kB / 1.36 GB, free: 1.887 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.2904, allocations: 346.7 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.2907, allocations: 176.6 kB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003089/0.291, allocations: 243.2 kB / 1.361 GB, free: 1.117 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.2916, allocations: 427.3 kB / 1.361 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.2916, allocations: 4 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007099/0.2923, allocations: 0.5176 MB / 1.361 GB, free: 168 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2923, allocations: 4 kB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2923, allocations: 0 / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2923, allocations: 7.938 kB / 1.361 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2924, allocations: 23.92 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.2924, allocations: 4 kB / 1.362 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2925, allocations: 35.72 kB / 1.362 GB, free: 92 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.2926, allocations: 12 kB / 1.362 GB, free: 80 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (win.occ,win.ran,$PRE.win.ran,win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0002146/0.2928, allocations: 203.2 kB / 1.362 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.2928, allocations: 11.91 kB / 1.362 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.2928, allocations: 13.62 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2928, allocations: 4 kB / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2928, allocations: 0 / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2928, allocations: 0 / 1.362 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.2937, allocations: 0.7104 MB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2937, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.2937, allocations: 7.984 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2937, allocations: 0 / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2938, allocations: 4 kB / 1.362 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2938, allocations: 4 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2938, allocations: 3.938 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.2944, allocations: 0.5403 MB / 1.363 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.2945, allocations: 19.8 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.2945, allocations: 31.98 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.2946, allocations: 4 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.2946, allocations: 15.92 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.2946, allocations: 7.984 kB / 1.363 GB, free: 14.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.2947, allocations: 97.14 kB / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.2947, allocations: 0 / 1.363 GB, free: 14.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003054/0.295, allocations: 55.92 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33],win.ran) * Number of discrete states: 33 (win.state[1],win.state[2],win.state[3],win.state[4],win.state[5],win.state[6],win.state[7],win.state[8],win.state[9],win.state[10],win.state[11],win.state[12],win.state[13],win.state[14],win.state[15],win.state[16],win.state[17],win.state[18],win.state[19],win.state[20],win.state[21],win.state[22],win.state[23],win.state[24],win.state[25],win.state[26],win.state[27],win.state[28],win.state[29],win.state[30],win.state[31],win.state[32],win.state[33]) * 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.0004084/0.2954, allocations: 227.1 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.296, allocations: 413.9 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.296, allocations: 0 / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.2961, allocations: 99.97 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2964, allocations: 11.98 kB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.297, allocations: 412.7 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.2974, allocations: 0.7248 MB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.2974, allocations: 15.44 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.2974, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of Templates: time 0.004599/0.302, allocations: 2.595 MB / 1.368 GB, free: 9.727 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.470710995985428]