Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_10_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.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001011/0.001011, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.852/2.852, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.557/0.5583, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002679/0.561, allocations: 1.562 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.5622, allocations: 0.7207 MB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.5622, allocations: 0 / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.5623, allocations: 7.938 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.945e-05/0.5623, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.5628, allocations: 115.8 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.564e-05/0.5629, allocations: 75.77 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.563, allocations: 11.98 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.745e-05/0.5631, allocations: 35.84 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.5632, allocations: 39.84 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.5632, allocations: 11.98 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.5634, allocations: 83.92 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.5634, allocations: 27.91 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.5635, allocations: 31.86 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.5637, allocations: 141.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5637, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5637, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.5637, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 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.0005829/0.5643, allocations: 424.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5643, allocations: 8.031 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.5644, allocations: 34.75 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.5644, allocations: 12.84 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.5645, allocations: 172.4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.5646, allocations: 4.375 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.5646, allocations: 8.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5648, allocations: 69.72 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.5648, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.5648, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5648, allocations: 3.984 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.5649, allocations: 43.91 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.5655, allocations: 316.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5656, allocations: 46.56 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.5657, allocations: 40.89 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.5658, allocations: 7.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.5659, allocations: 79.36 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.5659, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003745/0.5663, allocations: 137.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.5664, allocations: 55.41 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.5665, allocations: 129.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.5665, allocations: 29.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.5666, allocations: 84.14 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.5666, allocations: 15.81 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.5666, allocations: 29.7 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5668, allocations: 322.8 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.5668, allocations: 23.98 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.065e-05/0.5669, allocations: 50.56 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5671, allocations: 70.48 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5671, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002344/0.5673, allocations: 117.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5674, allocations: 12 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.5674, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.5674, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.5675, allocations: 15.98 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5675, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.5676, allocations: 15.84 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.5676, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 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.949e-05/0.5677, allocations: 130.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.5677, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.5677, allocations: 16.31 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5677, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5678, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5678, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.5682, allocations: 378.4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.5682, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.5683, allocations: 3.984 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.5683, allocations: 8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.5683, allocations: 7.938 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5683, allocations: 3.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5683, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.5686, allocations: 203.5 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.5686, allocations: 81.02 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.5686, allocations: 3.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.5687, allocations: 15.94 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.5688, allocations: 7.984 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5688, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.5688, allocations: 99.86 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5689, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002972/0.5692, allocations: 39.98 kB / 1.023 GB, free: 12.16 MB / 0.7794 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.0007226/0.5699, allocations: 0.8041 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.5701, allocations: 75.88 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5701, allocations: 4.125 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.529e-05/0.5702, allocations: 31.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.5705, allocations: 15.92 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.572, allocations: 1.49 MB / 1.025 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.5722, allocations: 0.6885 MB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.5722, allocations: 4 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.5723, allocations: 19.42 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5723, allocations: 7.938 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.5842, allocations: 2.484 MB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.5844, allocations: 276.4 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.363, allocations: 0 / 1.029 GB, free: 6.246 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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