Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.001744/0.001744, 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.002292/0.002293, allocations: 191 kB / 16.25 MB, free: 6.637 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.7/1.7, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.91 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5912, allocations: 140.4 MB / 0.9492 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002729/0.594, allocations: 1.545 MB / 0.9507 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.5951, allocations: 0.7335 MB / 0.9515 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.5951, allocations: 1.25 kB / 0.9515 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.5952, allocations: 0 / 0.9515 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.5953, allocations: 9.281 kB / 0.9515 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.5958, allocations: 106.3 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.5959, allocations: 79.14 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.596, allocations: 21.56 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.5961, allocations: 30.48 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.892e-05/0.5962, allocations: 47.19 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.5962, allocations: 5.781 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.5964, allocations: 95.22 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.5964, allocations: 18.67 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.5965, allocations: 32.11 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.5967, allocations: 139.3 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5967, allocations: 1.375 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5967, allocations: 4 kB / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5967, allocations: 0 / 0.952 GB, free: 7.047 MB / 0.7169 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.0005735/0.5973, allocations: 419.4 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.5973, allocations: 9.594 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.5974, allocations: 35.88 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.5974, allocations: 5.875 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.5975, allocations: 175.1 kB / 0.9526 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.5975, allocations: 6.672 kB / 0.9526 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5976, allocations: 12.12 kB / 0.9527 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.5977, allocations: 68.06 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5977, allocations: 1.438 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5978, allocations: 0 / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5978, allocations: 1.438 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.5979, allocations: 43.91 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.5984, allocations: 325.2 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5985, allocations: 45.62 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.5986, allocations: 32.09 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5986, allocations: 3.938 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.5987, allocations: 82.17 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.5987, allocations: 3.938 kB / 0.9532 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003386/0.5991, allocations: 143.6 kB / 0.9534 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.5991, allocations: 57.75 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.5992, allocations: 120.8 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.5992, allocations: 26.86 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.5993, allocations: 94.47 kB / 0.9537 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.5993, allocations: 14.91 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.5993, allocations: 30.55 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.5994, allocations: 323.8 kB / 0.954 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.5995, allocations: 22.58 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.5995, allocations: 45.59 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.5997, allocations: 80.52 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5997, allocations: 1.375 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002003/0.5999, allocations: 112.5 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5999, allocations: 5.719 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.5999, allocations: 0 / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.5999, allocations: 2.094 kB / 0.9543 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.6, allocations: 19.64 kB / 0.9543 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6, allocations: 5.281 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.6001, allocations: 13.06 kB / 0.9543 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.6001, allocations: 2.531 kB / 0.9543 GB, free: 4.852 MB / 0.7169 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 6.24e-05/0.6002, allocations: 122.7 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.6002, allocations: 6.562 kB / 0.9544 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.6002, allocations: 10.72 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6002, allocations: 5.312 kB / 0.9544 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6003, allocations: 3.938 kB / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6003, allocations: 0 / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.6006, allocations: 383 kB / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6006, allocations: 0 / 0.9548 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.6007, allocations: 12.39 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.6007, allocations: 0 / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6007, allocations: 1.469 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6007, allocations: 3.938 kB / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6007, allocations: 5.406 kB / 0.9548 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.6009, allocations: 201.2 kB / 0.955 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.6009, allocations: 87.31 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.601, allocations: 1.25 kB / 0.9551 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.6011, allocations: 10.22 kB / 0.9551 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.6011, allocations: 6.766 kB / 0.9551 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.6011, allocations: 6.719 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.6011, allocations: 96.61 kB / 0.9552 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6011, allocations: 0 / 0.9552 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002753/0.6014, allocations: 36.09 kB / 0.9553 GB, free: 3.945 MB / 0.7169 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.0005697/0.602, allocations: 0.8046 MB / 0.9561 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6022, allocations: 81.75 kB / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6022, allocations: 1.281 kB / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.6023, allocations: 36.02 kB / 0.9562 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.6026, allocations: 19.23 kB / 0.9562 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.6038, allocations: 1.482 MB / 0.9576 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.604, allocations: 0.6891 MB / 0.9583 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.628e-05/0.604, allocations: 3.812 kB / 0.9583 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.6041, allocations: 22.98 kB / 0.9583 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6041, allocations: 3.938 kB / 0.9583 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.6171, allocations: 2.484 MB / 0.9608 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.6174, allocations: 264.5 kB / 0.961 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.393, allocations: 0 / 0.961 GB, free: 15.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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