Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.00626/0.00626, allocations: 103 kB / 15.74 MB, free: 6.059 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.001714/0.001714, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.539/2.539, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 71.86 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6324, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002403/0.6349, allocations: 1.505 MB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.636, allocations: 0.7254 MB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.6361, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.6361, allocations: 3.938 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.6361, allocations: 15.86 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.6366, allocations: 119.6 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.6367, allocations: 79.78 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.847e-05/0.6368, allocations: 19.91 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.6369, allocations: 39.8 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.637, allocations: 39.83 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.637, allocations: 8 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.6372, allocations: 95.91 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.6372, allocations: 19.91 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.6373, allocations: 31.86 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.6375, allocations: 143.2 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6375, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6375, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.6375, allocations: 0 / 1.223 GB, free: 15.18 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.0005809/0.6381, allocations: 416.7 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.6381, allocations: 8.031 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.6382, allocations: 46.73 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.6382, allocations: 8.891 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.6384, allocations: 172.3 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.6384, allocations: 384 / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.6384, allocations: 8.375 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.6386, allocations: 73.72 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6386, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.6386, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6386, allocations: 3.938 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.6387, allocations: 39.97 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005471/0.6393, allocations: 320.7 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.6394, allocations: 46.5 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.6395, allocations: 32.97 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6395, allocations: 4 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.6397, allocations: 79.44 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6397, allocations: 4 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003698/0.6401, allocations: 133.5 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.6402, allocations: 59.41 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.6403, allocations: 125.8 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.6403, allocations: 29.7 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.6403, allocations: 88.14 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.6404, allocations: 15.89 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.6404, allocations: 29.7 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6405, allocations: 322.8 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.75e-05/0.6406, allocations: 19.98 kB / 1.225 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.733e-05/0.6407, allocations: 54.98 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.6409, allocations: 82.47 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6409, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002268/0.6411, allocations: 105.6 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6412, allocations: 15.92 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6412, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.6412, allocations: 4 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.6413, allocations: 8 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6413, allocations: 3.938 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.6414, allocations: 15.92 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.6414, allocations: 4 kB / 1.225 GB, free: 12.59 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 9.076e-05/0.6415, allocations: 125.7 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.6415, allocations: 7.953 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.6415, allocations: 12.36 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6415, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6415, allocations: 8 kB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6415, allocations: 0 / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.642, allocations: 378.4 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.642, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.6421, allocations: 11.94 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6421, allocations: 4 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6421, allocations: 3.984 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6421, allocations: 4.406 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6421, allocations: 0 / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.6424, allocations: 203.5 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.6424, allocations: 81.06 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.6425, allocations: 4 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.6425, allocations: 15.92 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.6426, allocations: 4 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.6426, allocations: 11.97 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.6427, allocations: 95.42 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6427, allocations: 0 / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002613/0.6429, allocations: 39.88 kB / 1.226 GB, free: 11.49 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.0007662/0.6437, allocations: 0.8043 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.6439, allocations: 71.89 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.644, allocations: 4.125 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-05/0.6441, allocations: 39.97 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.6443, allocations: 7.938 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.6458, allocations: 1.493 MB / 1.229 GB, free: 8.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.6461, allocations: 0.6885 MB / 1.229 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.6461, allocations: 0 / 1.229 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.6462, allocations: 23.42 kB / 1.229 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6462, allocations: 0 / 1.229 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.16/2.806, allocations: 2.661 MB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/11.42, allocations: 11.86 kB / 1.232 GB, free: 5.707 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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