Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001814/0.001814, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002412/0.002413, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.949/1.949, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.923/2.923, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002965/0.002965, allocations: 67.34 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5878, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.004949/0.5928, allocations: 1.564 MB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.5954, allocations: 0.7289 MB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.203e-05/0.5955, allocations: 4 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.923e-05/0.5956, allocations: 7.875 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.424e-05/0.5957, allocations: 7.922 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000947/0.5967, allocations: 111.8 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.5969, allocations: 67.83 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.5971, allocations: 12 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.5973, allocations: 35.91 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.788e-05/0.5974, allocations: 39.83 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.5974, allocations: 8 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.5978, allocations: 95.84 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.5978, allocations: 23.91 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.284e-05/0.5979, allocations: 27.86 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.5983, allocations: 143.9 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5983, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.719e-06/0.5983, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5983, allocations: 3.938 kB / 1.055 GB, free: 5.727 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.000856/0.5992, allocations: 421 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.5992, allocations: 8.625 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.283e-05/0.5993, allocations: 30.75 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.5993, allocations: 12.78 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.5995, allocations: 176.2 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.5996, allocations: 12.36 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5996, allocations: 4.375 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.5998, allocations: 73.78 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.5998, allocations: 4 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5999, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.5999, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.6, allocations: 39.91 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.6007, allocations: 320.7 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.6009, allocations: 46.56 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.277e-05/0.601, allocations: 36.97 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.601, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.6013, allocations: 75.31 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.245e-06/0.6013, allocations: 4 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005131/0.6019, allocations: 145.6 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.6019, allocations: 55.41 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.6021, allocations: 113.8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.6022, allocations: 33.7 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.6023, allocations: 92.03 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.6023, allocations: 15.84 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.6024, allocations: 29.7 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.6026, allocations: 326.8 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.6028, allocations: 27.92 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.6029, allocations: 50.55 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.6032, allocations: 70.55 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6032, allocations: 4 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000342/0.6036, allocations: 109.5 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6036, allocations: 8 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.6036, allocations: 400 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.6036, allocations: 0 / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.6038, allocations: 15.92 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6038, allocations: 4 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.6039, allocations: 11.97 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.604, allocations: 7.938 kB / 1.058 GB, free: 3.133 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.000208/0.6042, allocations: 125.8 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6042, allocations: 7.906 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.6043, allocations: 4.375 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6043, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6043, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6043, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008788/0.6052, allocations: 398.3 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6052, allocations: 3.938 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.6053, allocations: 7.984 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6053, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.6053, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.6053, allocations: 3.938 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6053, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.6058, allocations: 219.3 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.448e-05/0.6058, allocations: 81.09 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.6059, allocations: 4 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.606, allocations: 3.938 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.6061, allocations: 7.984 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.6061, allocations: 4 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.6062, allocations: 95.27 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6062, allocations: 4 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005729/0.6068, allocations: 39.91 kB / 1.058 GB, free: 2.043 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.001314/0.6081, allocations: 0.7984 MB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.6086, allocations: 75.83 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6086, allocations: 3.938 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.6087, allocations: 31.98 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.6092, allocations: 15.92 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.6121, allocations: 1.488 MB / 1.061 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.6125, allocations: 0.7039 MB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.778e-05/0.6126, allocations: 7.984 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.6127, allocations: 18.8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of SimCode: time 1.513e-06/0.6127, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9411/1.554, allocations: 2.491 MB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003954/1.554, allocations: 263.6 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.515/5.069, allocations: 0 / 1.064 GB, free: 12.1 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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