Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001336/0.001336, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.001431/0.001431, allocations: 213.8 kB / 23 MB, free: 4.934 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [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.00204/0.00204, allocations: 79.22 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3202, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002955/0.3231, allocations: 1.527 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3246, allocations: 0.7013 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.3247, allocations: 7.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.336e-05/0.3247, allocations: 3.938 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.174e-05/0.3248, allocations: 11.86 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.3254, allocations: 139.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3255, allocations: 83.75 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.3256, allocations: 15.94 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3257, allocations: 47.83 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.3258, allocations: 31.91 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3258, allocations: 8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.3261, allocations: 139.6 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.3262, allocations: 31.91 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.3262, allocations: 39.67 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.3265, allocations: 195.2 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3265, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3265, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.3265, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 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.0007152/0.3272, allocations: 428.1 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3273, allocations: 8.031 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/0.3277, allocations: 40.81 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.3279, allocations: 134.3 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3279, allocations: 12.31 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.328, allocations: 12.36 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.3283, allocations: 197.7 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3283, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3283, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3283, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.3285, allocations: 104 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.3291, allocations: 284.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3293, allocations: 118.8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3294, allocations: 97.22 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3294, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.3297, allocations: 208.3 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.3297, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008207/0.3305, allocations: 0.5242 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.3306, allocations: 99.36 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.3307, allocations: 137.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.3308, allocations: 53.67 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.3308, allocations: 97.09 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.3309, allocations: 103.3 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3311, allocations: 93.67 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3312, allocations: 346.8 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.3315, allocations: 176.6 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.3318, allocations: 239.2 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.3324, allocations: 431.2 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3324, allocations: 3.938 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007674/0.3332, allocations: 0.5088 MB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3332, allocations: 4 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3332, allocations: 0 / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3333, allocations: 7.938 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3334, allocations: 28.02 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3334, allocations: 11.94 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3335, allocations: 39.67 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3336, allocations: 12 kB / 1.334 GB, free: 9.289 MB / 1.029 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.0002107/0.3338, allocations: 203.5 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3338, allocations: 11.91 kB / 1.335 GB, free: 9.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.3338, allocations: 9.625 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3338, allocations: 0 / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3338, allocations: 7.984 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.3338, allocations: 23.77 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.3339, allocations: 27.98 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.334, allocations: 16 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.334, allocations: 7.922 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006033/0.3346, allocations: 428 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006101/0.3352, allocations: 0.5278 MB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001475/0.3354, allocations: 91.97 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.738e-05/0.3354, allocations: 98.39 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of Backend: time 3.81e-07/0.3354, allocations: 0 / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009948/0.3364, allocations: 445.1 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007023/0.3371, allocations: 0.7412 MB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of Templates: time 0.005844/0.343, allocations: 2.407 MB / 1.339 GB, free: 4.238 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.globalSeed,win.localSeed,win.occ,win.on,win.p,win.samplePeriod,win.t0 [Calling sys.exit(0), Time elapsed: 8.549079395001172]