Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.004053/0.004053, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.001156/0.001156, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.351/2.351, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 67.89 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6022, allocations: 159.1 MB / 1.22 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002541/0.6048, allocations: 1.502 MB / 1.222 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.606, allocations: 0.7254 MB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.6061, allocations: 0 / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.6061, allocations: 3.938 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.6061, allocations: 11.88 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.6066, allocations: 123.5 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.6067, allocations: 79.77 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.6068, allocations: 19.95 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.6069, allocations: 35.89 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.607, allocations: 35.84 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.607, allocations: 8 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.6072, allocations: 95.84 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.6072, allocations: 23.91 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.6073, allocations: 27.86 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.6075, allocations: 134.3 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6075, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6075, allocations: 4 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6075, allocations: 0 / 1.223 GB, free: 15.27 MB / 0.9512 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.0006217/0.6082, allocations: 429.6 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.6082, allocations: 12.03 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.6082, allocations: 30.75 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.6083, allocations: 8.891 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.6084, allocations: 176.3 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.6084, allocations: 16.36 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.6085, allocations: 4.375 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6086, allocations: 73.78 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6086, allocations: 3.938 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.6087, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.6087, allocations: 4 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.6088, allocations: 35.97 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.6093, allocations: 316.7 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.6095, allocations: 46.56 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.6096, allocations: 36.95 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6096, allocations: 3.984 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.6097, allocations: 75.38 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.6098, allocations: 0 / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003683/0.6101, allocations: 149.8 kB / 1.224 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.6102, allocations: 51.41 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.6103, allocations: 125.8 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6103, allocations: 29.7 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.6104, allocations: 88.14 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.6104, allocations: 15.91 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.6104, allocations: 25.7 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6106, allocations: 326.8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.6107, allocations: 27.98 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.6108, allocations: 46.98 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.6109, allocations: 78.56 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6109, allocations: 0 / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002359/0.6112, allocations: 117.5 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6112, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.6112, allocations: 4 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.6112, allocations: 3.938 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.6113, allocations: 15.92 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6113, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.6114, allocations: 12 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6114, allocations: 7.984 kB / 1.225 GB, free: 12.66 MB / 0.9512 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 8.974e-05/0.6115, allocations: 121.8 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.6115, allocations: 7.953 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.6116, allocations: 8.375 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.6116, allocations: 0 / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.6116, allocations: 3.938 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6116, allocations: 0 / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.612, allocations: 386.4 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.612, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.6121, allocations: 7.984 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6121, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6121, allocations: 4 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.6121, allocations: 3.938 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6121, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.6124, allocations: 219.4 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.6125, allocations: 85.06 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6125, allocations: 0 / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.6126, allocations: 7.938 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.6126, allocations: 7.984 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.6126, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.6127, allocations: 95.42 kB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6127, allocations: 0 / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002631/0.613, allocations: 47.86 kB / 1.226 GB, free: 11.56 MB / 0.9512 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.0007877/0.6138, allocations: 0.8072 MB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.614, allocations: 79.88 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.614, allocations: 0 / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.6141, allocations: 35.92 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.6144, allocations: 11.92 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.6159, allocations: 1.485 MB / 1.229 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.6162, allocations: 0.6885 MB / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.6162, allocations: 4 kB / 1.229 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.6163, allocations: 31.36 kB / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.6163, allocations: 0 / 1.229 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.199/1.815, allocations: 2.638 MB / 1.232 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/14.31, allocations: 7.938 kB / 1.232 GB, free: 5.773 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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