Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.001647/0.001647, allocations: 102.5 kB / 16.45 MB, free: 6.445 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.001842/0.001842, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.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.79/2.79, allocations: 476.7 MB / 0.7611 GB, free: 15.72 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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.88 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9467, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002613/0.9493, allocations: 1.501 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.9505, allocations: 0.7468 MB / 1.271 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.9506, allocations: 0.75 kB / 1.271 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.9506, allocations: 5.25 kB / 1.271 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.052e-05/0.9506, allocations: 10.56 kB / 1.271 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.9511, allocations: 121.5 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.9513, allocations: 76.78 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.9514, allocations: 25.19 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.9514, allocations: 35.58 kB / 1.271 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.9515, allocations: 45.02 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.9515, allocations: 6.406 kB / 1.271 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.9518, allocations: 101.6 kB / 1.271 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.9518, allocations: 14.38 kB / 1.271 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.9518, allocations: 31.66 kB / 1.271 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.9521, allocations: 143.6 kB / 1.272 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.9521, allocations: 0.625 kB / 1.272 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9521, allocations: 0 / 1.272 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9521, allocations: 0.625 kB / 1.272 GB, free: 5.914 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.0005625/0.9527, allocations: 426.5 kB / 1.272 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.9527, allocations: 9.156 kB / 1.272 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.9527, allocations: 33.78 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.9528, allocations: 9.359 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.9529, allocations: 169.2 kB / 1.272 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.9529, allocations: 7.328 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.9529, allocations: 4.141 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.9531, allocations: 80.14 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9531, allocations: 0.9375 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.9531, allocations: 4.609 kB / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9531, allocations: 1.031 kB / 1.272 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.9533, allocations: 35.92 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.9538, allocations: 318.9 kB / 1.273 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.9539, allocations: 47.55 kB / 1.273 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.954, allocations: 34.45 kB / 1.273 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.954, allocations: 2.328 kB / 1.273 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.9542, allocations: 76.48 kB / 1.273 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.9542, allocations: 3.938 kB / 1.273 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004095/0.9546, allocations: 138.5 kB / 1.273 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.9546, allocations: 53.02 kB / 1.273 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.9547, allocations: 135.3 kB / 1.273 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.9548, allocations: 26.55 kB / 1.273 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.9548, allocations: 88.12 kB / 1.273 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.9548, allocations: 20.2 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.9549, allocations: 30.09 kB / 1.273 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.9549, allocations: 327.2 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.955, allocations: 22.5 kB / 1.274 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.9551, allocations: 51.22 kB / 1.274 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.9553, allocations: 76.09 kB / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.9553, allocations: 0.75 kB / 1.274 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002338/0.9555, allocations: 112.4 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9555, allocations: 5.906 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9555, allocations: 0.7031 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.9555, allocations: 1.781 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.745e-05/0.9556, allocations: 11.42 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.9556, allocations: 1.906 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.636e-05/0.9557, allocations: 13.12 kB / 1.274 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.9557, allocations: 10.83 kB / 1.274 GB, free: 3.875 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 8.196e-05/0.9558, allocations: 124.6 kB / 1.274 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.9558, allocations: 7.703 kB / 1.274 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.9558, allocations: 10.62 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9558, allocations: 1.938 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9558, allocations: 0 / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9558, allocations: 0.6562 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.9562, allocations: 384.5 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.9562, allocations: 0.5312 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.9563, allocations: 3.594 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9563, allocations: 0.5312 kB / 1.274 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.9563, allocations: 6.125 kB / 1.274 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.9563, allocations: 8.156 kB / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9563, allocations: 0 / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.9565, allocations: 206.3 kB / 1.275 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.9566, allocations: 83.06 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.9566, allocations: 1.906 kB / 1.275 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.9567, allocations: 8.438 kB / 1.275 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.9567, allocations: 9.125 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.9567, allocations: 6.312 kB / 1.275 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.9568, allocations: 88.44 kB / 1.275 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9568, allocations: 0 / 1.275 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003242/0.9571, allocations: 51.03 kB / 1.275 GB, free: 3.023 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.000743/0.9578, allocations: 0.8131 MB / 1.276 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.9581, allocations: 70.89 kB / 1.276 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9581, allocations: 0 / 1.276 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.9582, allocations: 28.44 kB / 1.276 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.9585, allocations: 14.08 kB / 1.276 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.9601, allocations: 1.507 MB / 1.277 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.9604, allocations: 0.6904 MB / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.9605, allocations: 9.438 kB / 1.278 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.9605, allocations: 21.7 kB / 1.278 GB, free: 16.22 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.9605, allocations: 0 / 1.278 GB, free: 16.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.986, allocations: 2.673 MB / 1.28 GB, free: 15.74 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/9.217, allocations: 12 kB / 1.28 GB, free: 15.73 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.408090504817665]