Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007587/0.007587, allocations: 106.3 kB / 15.74 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 199.2 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6437, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002035/0.6458, allocations: 1.5 MB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.6467, allocations: 0.7253 MB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.6468, allocations: 1.094 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.6468, allocations: 8.953 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.823e-05/0.6469, allocations: 13.66 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.6473, allocations: 130.8 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.6475, allocations: 71.89 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.511e-05/0.6475, allocations: 12.61 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.6476, allocations: 34.55 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.6477, allocations: 33.28 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.6477, allocations: 6.188 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.6479, allocations: 102.4 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.6479, allocations: 19.61 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.6479, allocations: 30.98 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.6482, allocations: 140 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.6482, allocations: 1.453 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6482, allocations: 0 / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.6482, allocations: 3.938 kB / 1.09 GB, free: 3.465 MB / 0.8575 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.0004759/0.6487, allocations: 422.9 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6487, allocations: 13.78 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.6487, allocations: 33.66 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.6488, allocations: 11.72 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.04e-05/0.6488, allocations: 170.7 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.6489, allocations: 6.266 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6489, allocations: 4.984 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.6491, allocations: 75.94 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.6491, allocations: 1.031 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6491, allocations: 0.6094 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6491, allocations: 1.125 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.6492, allocations: 44.7 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.6497, allocations: 318.3 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.6499, allocations: 45 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.833e-05/0.6499, allocations: 36.69 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.65, allocations: 5.453 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.6501, allocations: 77.31 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.6501, allocations: 0 / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003588/0.6505, allocations: 136.5 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.6505, allocations: 58.8 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.6506, allocations: 122.5 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.6506, allocations: 32.05 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.6506, allocations: 92.19 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.6507, allocations: 15.58 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.6507, allocations: 30.14 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.484e-05/0.6508, allocations: 322.5 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.237e-05/0.6508, allocations: 31.14 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.6509, allocations: 54.89 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.6511, allocations: 68.94 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6511, allocations: 0 / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.6513, allocations: 112.7 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6513, allocations: 5.281 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6513, allocations: 1.359 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6514, allocations: 0.8438 kB / 1.092 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.6515, allocations: 15.78 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6515, allocations: 2.172 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.6515, allocations: 13.03 kB / 1.092 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.6516, allocations: 4.172 kB / 1.092 GB, free: 1.434 MB / 0.8575 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.579e-05/0.6516, allocations: 129.2 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.6516, allocations: 8.297 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.6517, allocations: 10.02 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6517, allocations: 1.188 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6517, allocations: 1.344 kB / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.6517, allocations: 0 / 1.093 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.6521, allocations: 382.4 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6521, allocations: 1.484 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.6521, allocations: 8.281 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6521, allocations: 1.859 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6521, allocations: 2.172 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6521, allocations: 8.719 kB / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6521, allocations: 0 / 1.093 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.6524, allocations: 216.4 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/0.6524, allocations: 84.22 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.6524, allocations: 5.547 kB / 1.093 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.6525, allocations: 8.234 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.6526, allocations: 8.328 kB / 1.093 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.6526, allocations: 7.641 kB / 1.093 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.6526, allocations: 95.7 kB / 1.093 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6526, allocations: 0.9688 kB / 1.093 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000279/0.6529, allocations: 41.61 kB / 1.093 GB, free: 0.5664 MB / 0.8575 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.0006344/0.6536, allocations: 0.797 MB / 1.094 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.6538, allocations: 72.34 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6538, allocations: 4.125 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.6539, allocations: 33.8 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.6541, allocations: 10.28 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.6556, allocations: 1.496 MB / 1.096 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.6559, allocations: 0.687 MB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.6559, allocations: 9.438 kB / 1.096 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.656, allocations: 20.19 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.656, allocations: 4.688 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.6736, allocations: 2.649 MB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/7.289, allocations: 4.281 kB / 1.099 GB, free: 13.32 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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