Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001601/0.001601, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001627/0.001627, allocations: 214 kB / 23.01 MB, free: 4.566 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.896/2.896, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [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.001957/0.001957, allocations: 66.59 kB / 1.178 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 180.2 MB / 1.354 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002549/0.2836, allocations: 1.545 MB / 1.356 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2848, allocations: 0.7679 MB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.2849, allocations: 0 / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.208e-05/0.2849, allocations: 7.875 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.285, allocations: 11.88 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.2854, allocations: 135.5 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.2856, allocations: 83.81 kB / 1.357 GB, free: 5.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.2856, allocations: 19.91 kB / 1.357 GB, free: 5.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2858, allocations: 39.8 kB / 1.357 GB, free: 5.461 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.2858, allocations: 39.88 kB / 1.357 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2858, allocations: 8 kB / 1.357 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.2861, allocations: 127.8 kB / 1.357 GB, free: 5.289 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.2861, allocations: 39.89 kB / 1.357 GB, free: 5.25 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.771e-05/0.2862, allocations: 55.61 kB / 1.357 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.2864, allocations: 183.2 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2864, allocations: 0 / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2864, allocations: 4 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2865, allocations: 0 / 1.357 GB, free: 5.012 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.0006108/0.2871, allocations: 428.1 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2871, allocations: 16.02 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/0.2874, allocations: 32.83 kB / 1.358 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.2876, allocations: 150.9 kB / 1.358 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.2877, allocations: 4.375 kB / 1.358 GB, free: 4.336 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.2877, allocations: 4.375 kB / 1.358 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.288, allocations: 193.9 kB / 1.358 GB, free: 4.137 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.288, allocations: 3.984 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.288, allocations: 7.938 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.288, allocations: 4 kB / 1.358 GB, free: 4.121 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.2882, allocations: 111.7 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.2887, allocations: 335.6 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.2889, allocations: 110.9 kB / 1.358 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.289, allocations: 97.16 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.289, allocations: 0 / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.2893, allocations: 224.2 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of pre-optimization done (n=40): time 1.223e-06/0.2893, allocations: 0 / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.0008121/0.2901, allocations: 0.5752 MB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.2902, allocations: 87.36 kB / 1.359 GB, free: 2.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2903, allocations: 148.7 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.2903, allocations: 57.69 kB / 1.36 GB, free: 2.301 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.2904, allocations: 89.14 kB / 1.36 GB, free: 2.207 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.2905, allocations: 111.3 kB / 1.36 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2906, allocations: 93.67 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2907, allocations: 346.7 kB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.291, allocations: 180.6 kB / 1.36 GB, free: 1.477 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.2913, allocations: 235.2 kB / 1.361 GB, free: 1.234 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.2918, allocations: 431.4 kB / 1.361 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2918, allocations: 0 / 1.361 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0006741/0.2925, allocations: 0.5058 MB / 1.361 GB, free: 300 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2925, allocations: 4 kB / 1.361 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.2925, allocations: 8.094 kB / 1.361 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2925, allocations: 4 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.2926, allocations: 19.92 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2926, allocations: 7.938 kB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2928, allocations: 43.66 kB / 1.362 GB, free: 212 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.2928, allocations: 12 kB / 1.362 GB, free: 200 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.0002075/0.293, allocations: 214.8 kB / 1.362 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.293, allocations: 15.89 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.293, allocations: 5.625 kB / 1.362 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.293, allocations: 7.938 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.293, allocations: 4 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.293, allocations: 0 / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/0.2939, allocations: 0.7065 MB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2939, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.2939, allocations: 7.938 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2939, allocations: 0 / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2939, allocations: 4 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2939, allocations: 0 / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2939, allocations: 7.938 kB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.2946, allocations: 0.5403 MB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.2946, allocations: 19.8 kB / 1.363 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.2946, allocations: 31.98 kB / 1.363 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.2947, allocations: 11.98 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2947, allocations: 7.922 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2948, allocations: 4 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.2948, allocations: 103.3 kB / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.2948, allocations: 0 / 1.363 GB, free: 14.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000305/0.2951, allocations: 51.94 kB / 1.363 GB, free: 14.37 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.0003882/0.2955, allocations: 220.3 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.2961, allocations: 402 kB / 1.364 GB, free: 13.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2961, allocations: 8.125 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.2962, allocations: 108.1 kB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.2965, allocations: 12.12 kB / 1.364 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.2971, allocations: 408.6 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2974, allocations: 0.7326 MB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2974, allocations: 19.44 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.2974, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of Templates: time 0.004459/0.3019, allocations: 2.594 MB / 1.368 GB, free: 9.828 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.486748730996624]