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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_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.00726/0.00726, allocations: 100 kB / 15.73 MB, free: 6.469 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.001732/0.001732, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.907/2.907, allocations: 461.9 MB / 0.7348 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003026/0.3152, allocations: 1.497 MB / 1.209 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3166, allocations: 0.7249 MB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.3167, allocations: 0 / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.3167, allocations: 11.92 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.3169, allocations: 7.875 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007036/0.3176, allocations: 131.5 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3177, allocations: 75.77 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3179, allocations: 15.94 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.318, allocations: 35.86 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.3181, allocations: 43.81 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3181, allocations: 8 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.3183, allocations: 99.84 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.3183, allocations: 15.92 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.3184, allocations: 31.86 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.3187, allocations: 143.9 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3188, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3188, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3188, allocations: 0 / 1.21 GB, free: 7.336 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.0006855/0.3195, allocations: 417 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.3195, allocations: 12.61 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.3196, allocations: 34.75 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3196, allocations: 12.84 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3198, allocations: 176.2 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.3198, allocations: 384 / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.3198, allocations: 8.359 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.3201, allocations: 73.78 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3201, allocations: 3.938 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3201, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3201, allocations: 4 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3202, allocations: 35.97 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.3209, allocations: 316.7 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3211, allocations: 46.5 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.3212, allocations: 36.97 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3212, allocations: 4.062 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.3215, allocations: 79.38 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3215, allocations: 0 / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004198/0.3219, allocations: 129.6 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.322, allocations: 63.39 kB / 1.211 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3221, allocations: 125.8 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3221, allocations: 25.7 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.563e-05/0.3222, allocations: 88.12 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.3222, allocations: 23.73 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.3223, allocations: 29.7 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3224, allocations: 318.8 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.359e-05/0.3225, allocations: 35.97 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.3226, allocations: 46.56 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3228, allocations: 74.48 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3228, allocations: 3.938 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002666/0.3231, allocations: 121.5 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3231, allocations: 4 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3231, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3232, allocations: 7.938 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3233, allocations: 11.98 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3233, allocations: 400 / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.3234, allocations: 4 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.3234, allocations: 8 kB / 1.212 GB, free: 4.746 MB / 0.9669 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.0001149/0.3235, allocations: 125.8 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.3235, allocations: 11.89 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3236, allocations: 8.375 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3236, allocations: 0 / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.3236, allocations: 4 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3236, allocations: 0 / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3241, allocations: 386.3 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3241, allocations: 4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.3242, allocations: 4 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.3242, allocations: 0 / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3242, allocations: 3.984 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.3242, allocations: 3.938 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3242, allocations: 0 / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3245, allocations: 207.4 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3246, allocations: 89 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3246, allocations: 4 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.3247, allocations: 3.938 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3248, allocations: 11.98 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3248, allocations: 7.938 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.3248, allocations: 91.27 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3248, allocations: 0 / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003134/0.3252, allocations: 36 kB / 1.213 GB, free: 3.66 MB / 0.9669 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.0008429/0.326, allocations: 0.8175 MB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3263, allocations: 79.95 kB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3263, allocations: 0 / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3264, allocations: 31.98 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3267, allocations: 18.31 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.3283, allocations: 1.486 MB / 1.216 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.3287, allocations: 0.6846 MB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.3287, allocations: 15.95 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.3288, allocations: 19.44 kB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of SimCode: time 2.01e-07/0.3288, allocations: 0 / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.3486, allocations: 2.688 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.991, allocations: 16.11 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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,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