Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001466/0.001466, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.535/2.535, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 15.94 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6179/0.6182, allocations: 153.7 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001915/0.6202, allocations: 1.192 MB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.6213, allocations: 0.6745 MB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.6213, allocations: 3.938 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.6214, allocations: 0 / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.859e-05/0.6214, allocations: 15.97 kB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.6219, allocations: 99.64 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.622, allocations: 39.94 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.622, allocations: 11.98 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.6221, allocations: 31.91 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.6222, allocations: 31.84 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.6222, allocations: 4 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.6224, allocations: 67.92 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.6224, allocations: 15.92 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.649e-05/0.6224, allocations: 33.7 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.6226, allocations: 105.6 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.6226, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6226, allocations: 0 / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.6226, allocations: 3.938 kB / 1.023 GB, free: 14.8 MB / 0.7794 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.0005359/0.6232, allocations: 412.7 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.6232, allocations: 11.98 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.6233, allocations: 7.906 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.6234, allocations: 167.1 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.6234, allocations: 7.984 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.6234, allocations: 11.95 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.6236, allocations: 65.66 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6236, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6236, allocations: 0 / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.6236, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.6238, allocations: 51.89 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.6243, allocations: 320.6 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.6245, allocations: 50.56 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.6245, allocations: 8.125 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.6247, allocations: 79.31 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.6247, allocations: 0 / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000376/0.6251, allocations: 157.6 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6251, allocations: 55.39 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.6252, allocations: 121.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.6252, allocations: 29.64 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.6253, allocations: 96.31 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.6253, allocations: 11.81 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.6253, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.6254, allocations: 322.8 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.6255, allocations: 23.98 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.6256, allocations: 50.5 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.6257, allocations: 47.94 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6257, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002267/0.6259, allocations: 113.5 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.626, allocations: 8 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.626, allocations: 4.062 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.626, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.6261, allocations: 15.98 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.6261, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.6262, allocations: 15.84 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.6262, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/0.6263, allocations: 125.7 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.6263, allocations: 11.98 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.6264, allocations: 8.375 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.6264, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6264, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.6264, allocations: 0 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.6268, allocations: 386.3 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6268, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.6269, allocations: 19.92 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6269, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6269, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6269, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6269, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.6272, allocations: 223.4 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.6272, allocations: 85.02 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.6273, allocations: 4 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.6274, allocations: 8 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.6274, allocations: 7.984 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.6274, allocations: 0 / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.6275, allocations: 91.27 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6275, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002949/0.6278, allocations: 43.98 kB / 1.026 GB, free: 11.24 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003043/0.6281, allocations: 168.3 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.6283, allocations: 72.02 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6283, allocations: 3.938 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.6284, allocations: 43.91 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.6286, allocations: 11.95 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.629, allocations: 197.2 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002041/0.6292, allocations: 0.6926 MB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.6292, allocations: 8.172 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.6293, allocations: 11.44 kB / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6293, allocations: 0 / 1.027 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.00355/0.6328, allocations: 1.332 MB / 1.029 GB, free: 8.668 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","../files/Buildings_latest_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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0