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: "" <> 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.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001525/0.001525, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.659/2.659, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 61.75 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3277, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002898/0.3306, allocations: 1.563 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.332, allocations: 0.7401 MB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.91e-05/0.332, allocations: 0 / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.3321, allocations: 3.938 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.3322, allocations: 7.938 kB / 1.054 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.3327, allocations: 103.8 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3328, allocations: 71.84 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.3329, allocations: 8 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.333, allocations: 43.77 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.3331, allocations: 27.91 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3331, allocations: 4 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3333, allocations: 91.91 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.3333, allocations: 19.91 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.3334, allocations: 27.86 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.3336, allocations: 143.8 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3337, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3337, allocations: 3.938 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.3337, allocations: 0 / 1.055 GB, free: 5.367 MB / 0.8106 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.0006078/0.3343, allocations: 413 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3343, allocations: 8.031 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3344, allocations: 38.75 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.3344, allocations: 8.844 kB / 1.055 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3346, allocations: 188.1 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.3346, allocations: 384 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3346, allocations: 8.375 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3348, allocations: 77.7 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.3348, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3349, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3349, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.335, allocations: 35.97 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.3356, allocations: 316.8 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3358, allocations: 46.56 kB / 1.056 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.3359, allocations: 40.89 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3359, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.3361, allocations: 79.38 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3361, allocations: 0 / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004045/0.3365, allocations: 137.6 kB / 1.056 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3366, allocations: 55.41 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.3367, allocations: 125.8 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3367, allocations: 25.7 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.3367, allocations: 100 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.3368, allocations: 7.844 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.3368, allocations: 29.7 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3369, allocations: 326.8 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.337, allocations: 27.98 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.97e-05/0.3371, allocations: 42.56 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3373, allocations: 82.42 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3373, allocations: 0 / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/0.3375, allocations: 113.8 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3376, allocations: 4 kB / 1.057 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3376, allocations: 4.062 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3376, allocations: 4 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3377, allocations: 15.98 kB / 1.057 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3377, allocations: 4.062 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.3378, allocations: 7.906 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.3378, allocations: 7.984 kB / 1.057 GB, free: 2.777 MB / 0.8106 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.0001217/0.338, allocations: 121.7 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.338, allocations: 7.906 kB / 1.057 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.338, allocations: 16.31 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.338, allocations: 0 / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.338, allocations: 4 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3381, allocations: 0 / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.3386, allocations: 382.4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3386, allocations: 4 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.3386, allocations: 7.984 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3387, allocations: 0 / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3387, allocations: 4 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3387, allocations: 7.875 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3387, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.339, allocations: 211.4 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.3391, allocations: 77.11 kB / 1.058 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3391, allocations: 8 kB / 1.058 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.3392, allocations: 3.938 kB / 1.058 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3393, allocations: 11.98 kB / 1.058 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3393, allocations: 4 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.3394, allocations: 91.27 kB / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3394, allocations: 0 / 1.058 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003214/0.3397, allocations: 43.89 kB / 1.058 GB, free: 1.691 MB / 0.8106 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.0008714/0.3406, allocations: 0.8023 MB / 1.059 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.3408, allocations: 75.88 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3408, allocations: 0 / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.3409, allocations: 36.11 kB / 1.059 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.3412, allocations: 15.92 kB / 1.059 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.3428, allocations: 1.491 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3431, allocations: 0.6887 MB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.3431, allocations: 4 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3432, allocations: 23.42 kB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3432, allocations: 0 / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.3655, allocations: 2.425 MB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003587/0.3659, allocations: 282.9 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.177, allocations: 1.75 kB / 1.064 GB, free: 11.77 MB / 0.8262 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