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.001449/0.001449, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001423/0.001423, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] 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.455/2.455, allocations: 476.7 MB / 0.7628 GB, free: 15.21 MB / 0.6075 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.001792/0.001792, allocations: 71.88 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.7575, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002399/0.7599, allocations: 1.531 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.761, allocations: 0.7419 MB / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.761, allocations: 0 / 1.274 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.7611, allocations: 6.031 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.7611, allocations: 10.06 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.7616, allocations: 125 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.7617, allocations: 77.03 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.788e-05/0.7618, allocations: 9.891 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.7619, allocations: 39.91 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.762, allocations: 44.22 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.762, allocations: 6.375 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.7622, allocations: 110.3 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.7622, allocations: 13.48 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.7623, allocations: 31.53 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.7625, allocations: 136.5 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7625, allocations: 4 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7625, allocations: 1.062 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.7625, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 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.0005056/0.763, allocations: 422.2 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7631, allocations: 9.844 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.808e-05/0.7631, allocations: 33.64 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.7631, allocations: 7.703 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.7632, allocations: 175.5 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7632, allocations: 15.12 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.7632, allocations: 3.188 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.7634, allocations: 68.52 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.7634, allocations: 0 / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.7634, allocations: 1.484 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7634, allocations: 1.094 kB / 1.275 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.7635, allocations: 41.12 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.764, allocations: 317.8 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7641, allocations: 47.56 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.331e-05/0.7642, allocations: 29.83 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.7642, allocations: 1.812 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.7644, allocations: 89.5 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.7644, allocations: 0 / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003532/0.7647, allocations: 133.1 kB / 1.276 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.7647, allocations: 55.81 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.7648, allocations: 123.2 kB / 1.276 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7648, allocations: 31.14 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.7648, allocations: 86.45 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.7649, allocations: 21 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.7649, allocations: 28.66 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.7649, allocations: 320.5 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.765, allocations: 25.88 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/0.7651, allocations: 46.66 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.7652, allocations: 80.91 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7652, allocations: 0.6875 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002099/0.7655, allocations: 110.7 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.7655, allocations: 9.094 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.7655, allocations: 4.938 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.7655, allocations: 1.094 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.7656, allocations: 17.02 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7656, allocations: 1.531 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.7656, allocations: 7.469 kB / 1.276 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.7657, allocations: 11.88 kB / 1.276 GB, free: 3.902 MB / 0.9981 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 5.654e-05/0.7657, allocations: 123.9 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.7657, allocations: 15.75 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.7657, allocations: 10.7 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7657, allocations: 1.188 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7658, allocations: 4 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7658, allocations: 3.312 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.7661, allocations: 380.8 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7661, allocations: 0.7812 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.7661, allocations: 5.156 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7661, allocations: 1.188 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.7661, allocations: 2.203 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7662, allocations: 5.031 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7662, allocations: 4.469 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.7664, allocations: 211 kB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.7664, allocations: 80.27 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.7664, allocations: 1.188 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.7665, allocations: 8.75 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.7665, allocations: 8.625 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.7665, allocations: 2.953 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.205e-05/0.7666, allocations: 103 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7666, allocations: 0 / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002736/0.7668, allocations: 40.44 kB / 1.277 GB, free: 3.039 MB / 0.9981 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.0005868/0.7674, allocations: 0.8001 MB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.7677, allocations: 73.73 kB / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7677, allocations: 0.625 kB / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.7677, allocations: 27.88 kB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.768, allocations: 12.84 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.7692, allocations: 1.502 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.7695, allocations: 0.6976 MB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.7696, allocations: 3.031 kB / 1.28 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.7696, allocations: 22.98 kB / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7696, allocations: 0 / 1.28 GB, free: 16.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.7934, allocations: 2.659 MB / 1.283 GB, free: 15.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.769, allocations: 5.953 kB / 1.283 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 292] (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 --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/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: 13.013148314999853]