Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001568/0.001568, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00174/0.00174, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.252/3.252, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [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.002111/0.002111, allocations: 72.83 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3766, allocations: 181.8 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003174/0.3797, allocations: 1.524 MB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.3813, allocations: 0.7138 MB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.3814, allocations: 4 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.935e-05/0.3815, allocations: 11.88 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.3815, allocations: 11.86 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.3822, allocations: 131.6 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3824, allocations: 83.75 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3825, allocations: 11.94 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3826, allocations: 39.84 kB / 1.367 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.766e-05/0.3827, allocations: 39.83 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3827, allocations: 8 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.383, allocations: 131.8 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.3831, allocations: 35.84 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.3832, allocations: 39.73 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.3835, allocations: 183.2 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3835, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.532e-06/0.3835, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3835, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 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.0007546/0.3843, allocations: 428.1 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3843, allocations: 8.031 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003708/0.3847, allocations: 52.77 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3849, allocations: 134.3 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3849, allocations: 4.375 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.385, allocations: 4.375 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3853, allocations: 205.9 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3853, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3853, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3853, allocations: 0 / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.3855, allocations: 111.7 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.3861, allocations: 280.3 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3863, allocations: 118.8 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3864, allocations: 97.16 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3864, allocations: 0 / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.3867, allocations: 220.3 kB / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of pre-optimization done (n=40): time 1.402e-06/0.3867, allocations: 0 / 1.369 GB, free: 8.879 MB / 1.061 GB Notification: Performance of matching and sorting (n=40): time 0.0007905/0.3875, allocations: 0.5098 MB / 1.37 GB, free: 8.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.3876, allocations: 95.36 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3877, allocations: 148 kB / 1.37 GB, free: 8.109 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.3878, allocations: 57.67 kB / 1.37 GB, free: 8.047 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.3878, allocations: 97.08 kB / 1.37 GB, free: 7.949 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.383e-05/0.3879, allocations: 103.2 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3881, allocations: 93.67 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3882, allocations: 342.8 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.3885, allocations: 180.6 kB / 1.371 GB, free: 7.227 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.3888, allocations: 239.2 kB / 1.371 GB, free: 6.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.3894, allocations: 431.3 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3894, allocations: 0 / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007343/0.3901, allocations: 0.5088 MB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3901, allocations: 8.094 kB / 1.372 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.3902, allocations: 4 kB / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3902, allocations: 0 / 1.372 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3903, allocations: 27.86 kB / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3903, allocations: 4 kB / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3904, allocations: 43.66 kB / 1.372 GB, free: 5.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.3904, allocations: 12 kB / 1.372 GB, free: 5.934 MB / 1.061 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.0002113/0.3906, allocations: 204.3 kB / 1.372 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.3907, allocations: 15.86 kB / 1.372 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.3907, allocations: 13.62 kB / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3907, allocations: 0 / 1.372 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3907, allocations: 4 kB / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3907, allocations: 0 / 1.372 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.3914, allocations: 0.5894 MB / 1.373 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3915, allocations: 0 / 1.373 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.931e-05/0.3915, allocations: 7.938 kB / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3915, allocations: 0 / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3915, allocations: 4 kB / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3915, allocations: 0 / 1.373 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3915, allocations: 3.984 kB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/0.3921, allocations: 481.2 kB / 1.373 GB, free: 4.562 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.3921, allocations: 15.84 kB / 1.373 GB, free: 4.547 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.3922, allocations: 27.98 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.3923, allocations: 11.98 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3923, allocations: 7.984 kB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3923, allocations: 4 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.453e-05/0.3924, allocations: 95.27 kB / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3924, allocations: 0 / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003325/0.3927, allocations: 55.88 kB / 1.373 GB, free: 4.348 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.0004763/0.3932, allocations: 236.1 kB / 1.374 GB, free: 4.129 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.3938, allocations: 406 kB / 1.374 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3938, allocations: 0 / 1.374 GB, free: 3.727 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.394, allocations: 107.9 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.3942, allocations: 15.55 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006762/0.3949, allocations: 408.8 kB / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.395, allocations: 115.4 kB / 1.375 GB, free: 3.043 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3951, allocations: 19.44 kB / 1.375 GB, free: 3.023 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3951, allocations: 0 / 1.375 GB, free: 3.023 MB / 1.061 GB Notification: Performance of Templates: time 0.005121/0.4002, allocations: 2.616 MB / 1.377 GB, free: 420 kB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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: 11.897645695134997]