Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 111.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7611 GB, free: 11.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.91 kB / 1.104 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8769, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003165/0.8801, allocations: 1.515 MB / 1.27 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.8815, allocations: 0.7338 MB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.8816, allocations: 0 / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.8816, allocations: 11.92 kB / 1.271 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.8817, allocations: 7.875 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.8823, allocations: 127.6 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.8825, allocations: 75.77 kB / 1.271 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.8826, allocations: 19.73 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.775e-05/0.8827, allocations: 31.86 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.794e-05/0.8828, allocations: 39.83 kB / 1.271 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.8828, allocations: 8 kB / 1.271 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.883, allocations: 107.9 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.8831, allocations: 11.98 kB / 1.271 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.8831, allocations: 35.78 kB / 1.271 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.8834, allocations: 141.5 kB / 1.272 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.8834, allocations: 4 kB / 1.272 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8834, allocations: 0 / 1.272 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8834, allocations: 0 / 1.272 GB, free: 2.277 MB / 0.9669 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.0007451/0.8842, allocations: 416.7 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8842, allocations: 12.02 kB / 1.272 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.833e-05/0.8843, allocations: 38.75 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.8843, allocations: 4.891 kB / 1.272 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.8845, allocations: 168.3 kB / 1.272 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.8845, allocations: 8.375 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.8845, allocations: 8.359 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.8847, allocations: 77.72 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.8847, allocations: 0 / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8847, allocations: 0 / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8847, allocations: 0 / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.8849, allocations: 39.97 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.8855, allocations: 316.7 kB / 1.273 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.8857, allocations: 46.5 kB / 1.273 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.8858, allocations: 28.97 kB / 1.273 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.8858, allocations: 7.938 kB / 1.273 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.886, allocations: 75.38 kB / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.886, allocations: 0 / 1.273 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.8864, allocations: 141.8 kB / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.8865, allocations: 63.39 kB / 1.273 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.8866, allocations: 125.7 kB / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.8866, allocations: 29.7 kB / 1.273 GB, free: 500 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.8867, allocations: 92.06 kB / 1.273 GB, free: 404 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.8867, allocations: 19.97 kB / 1.273 GB, free: 384 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.8868, allocations: 29.7 kB / 1.273 GB, free: 348 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.8869, allocations: 322.8 kB / 1.274 GB, free: 16 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.8871, allocations: 23.97 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.8872, allocations: 50.56 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.8873, allocations: 74.48 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8873, allocations: 0 / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.8876, allocations: 113.5 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8876, allocations: 8.062 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.8876, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8876, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.8877, allocations: 15.98 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8877, allocations: 0 / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.8878, allocations: 15.94 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.8878, allocations: 4 kB / 1.274 GB, free: 15.69 MB / 0.9825 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 0.0001165/0.8879, allocations: 121.7 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.888, allocations: 15.94 kB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/0.888, allocations: 12.31 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.888, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.888, allocations: 0 / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.888, allocations: 4 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/0.8885, allocations: 378.4 kB / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8885, allocations: 0 / 1.274 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.8886, allocations: 7.938 kB / 1.274 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.8886, allocations: 7.984 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.8886, allocations: 7.984 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.8886, allocations: 3.938 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8886, allocations: 0 / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.8889, allocations: 199.5 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.889, allocations: 85.05 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.889, allocations: 4 kB / 1.275 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.8891, allocations: 11.94 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.8891, allocations: 7.984 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.8891, allocations: 4 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.407e-05/0.8892, allocations: 91.27 kB / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8892, allocations: 0 / 1.275 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000308/0.8895, allocations: 39.88 kB / 1.275 GB, free: 14.6 MB / 0.9825 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.0009169/0.8904, allocations: 0.8112 MB / 1.276 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.8907, allocations: 71.89 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8907, allocations: 3.938 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.8907, allocations: 36.11 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.891, allocations: 3.938 kB / 1.276 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.8929, allocations: 1.5 MB / 1.277 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.8933, allocations: 0.6906 MB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.384e-05/0.8933, allocations: 7.984 kB / 1.278 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.8934, allocations: 23.38 kB / 1.278 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8934, allocations: 0 / 1.278 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.9201, allocations: 2.664 MB / 1.28 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/9.104, allocations: 14.55 kB / 1.28 GB, free: 8.801 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 15.367165407165885]