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.006674/0.006674, allocations: 102 kB / 15.73 MB, free: 6.043 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.001528/0.001528, allocations: 195 kB / 16.67 MB, free: 5.965 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.21/2.21, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 75.86 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6329/0.634, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002104/0.6362, allocations: 1.505 MB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.6372, allocations: 0.7329 MB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.6373, allocations: 1.375 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.6373, allocations: 8.531 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/0.6374, allocations: 10.45 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.6379, allocations: 129.7 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.638, allocations: 77.36 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.6381, allocations: 7.391 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.6382, allocations: 35.06 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.6382, allocations: 36.84 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.6382, allocations: 6.844 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.6384, allocations: 98.27 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.6384, allocations: 14.5 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.6385, allocations: 40.53 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.6387, allocations: 139.7 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6387, allocations: 0.6094 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6387, allocations: 5.219 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.6387, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8575 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.0004741/0.6392, allocations: 417.5 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.6392, allocations: 10.41 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.6393, allocations: 37 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.6393, allocations: 9.25 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.317e-05/0.6394, allocations: 173.4 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.6394, allocations: 3.328 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.6394, allocations: 8.172 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.6396, allocations: 69.14 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6396, allocations: 0 / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6396, allocations: 0.6094 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.6396, allocations: 1.938 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.6398, allocations: 39.69 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.6402, allocations: 321.7 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.6403, allocations: 45.77 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/0.6404, allocations: 32.23 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.6405, allocations: 5.125 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.6406, allocations: 82.02 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.6406, allocations: 0 / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003457/0.641, allocations: 137.4 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.641, allocations: 58.42 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.419e-05/0.6411, allocations: 118.7 kB / 1.092 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.6411, allocations: 31.05 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.6411, allocations: 100.1 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.6411, allocations: 12.39 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.6412, allocations: 32.48 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.6412, allocations: 323.5 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.6413, allocations: 27.14 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.6414, allocations: 49.98 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.6415, allocations: 73.48 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6415, allocations: 0 / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002033/0.6418, allocations: 104.3 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6418, allocations: 6.266 kB / 1.092 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.6418, allocations: 8.906 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.6418, allocations: 1.781 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.6419, allocations: 18.89 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.6419, allocations: 2.328 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.642, allocations: 13.2 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.642, allocations: 3.406 kB / 1.092 GB, free: 1.441 MB / 0.8575 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 5.764e-05/0.642, allocations: 120.8 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.6421, allocations: 7.859 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.6421, allocations: 15.17 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.6421, allocations: 0.625 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6421, allocations: 1.391 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6421, allocations: 0.7031 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.6425, allocations: 386.1 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6425, allocations: 0.9375 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.6425, allocations: 5.375 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6425, allocations: 0.8125 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.6425, allocations: 6.156 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6425, allocations: 4.781 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6425, allocations: 0 / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.6428, allocations: 212.7 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.6428, allocations: 86.94 kB / 1.093 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.6428, allocations: 5.891 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.6429, allocations: 7.844 kB / 1.093 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.6429, allocations: 9.109 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.6429, allocations: 3.5 kB / 1.093 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.643, allocations: 92.75 kB / 1.093 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.643, allocations: 0 / 1.093 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002735/0.6433, allocations: 42.19 kB / 1.093 GB, free: 0.5859 MB / 0.8575 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.0006011/0.6439, allocations: 0.8095 MB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.6441, allocations: 67.83 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6441, allocations: 0.625 kB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.6442, allocations: 37.52 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.6444, allocations: 16.41 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.6458, allocations: 1.49 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.646, allocations: 0.6915 MB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.646, allocations: 12.08 kB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.6461, allocations: 22.06 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 3e-07/0.6461, allocations: 0 / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.36/5.006, allocations: 2.622 MB / 1.099 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/12.71, allocations: 16.5 kB / 1.099 GB, free: 13.31 MB / 0.8731 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