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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001111/0.001111, allocations: 193.7 kB / 16.13 MB, free: 6.652 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 55.91 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.5329, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002891/0.5358, allocations: 1.562 MB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.5372, allocations: 0.744 MB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.5373, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.5373, allocations: 3.938 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.5374, allocations: 7.922 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.538, allocations: 111.8 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.5381, allocations: 67.77 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.5382, allocations: 12 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.288e-05/0.5383, allocations: 27.91 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.5384, allocations: 39.83 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.5384, allocations: 4 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.5386, allocations: 95.84 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.5387, allocations: 11.92 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.5387, allocations: 35.84 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.539, allocations: 138.1 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.539, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.32e-07/0.539, allocations: 0 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.539, allocations: 0 / 1.02 GB, free: 15.96 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.0006618/0.5397, allocations: 419 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.5397, allocations: 8.031 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.5398, allocations: 30.75 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.5398, allocations: 12.84 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.54, allocations: 172.3 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.54, allocations: 8.375 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.54, allocations: 16.23 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.5402, allocations: 69.78 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5403, allocations: 3.984 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.5403, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5403, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.5404, allocations: 35.97 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.5411, allocations: 320.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.5412, allocations: 50.5 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.5413, allocations: 28.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5414, allocations: 8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.5416, allocations: 71.38 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.5416, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.542, allocations: 145.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.542, allocations: 51.41 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.5421, allocations: 125.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.5422, allocations: 33.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.5422, allocations: 92.19 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.5423, allocations: 15.81 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.5423, allocations: 29.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5425, allocations: 318.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.5425, allocations: 27.98 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.5426, allocations: 50.56 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.5428, allocations: 70.48 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5428, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.5431, allocations: 113.5 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5431, allocations: 12.06 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5431, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.5431, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/0.5432, allocations: 11.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.5432, allocations: 7.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.932e-05/0.5433, allocations: 11.84 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.5433, allocations: 0 / 1.022 GB, free: 13.38 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 9.927e-05/0.5434, allocations: 130.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.5434, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.5435, allocations: 8.375 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5435, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5435, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5435, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.5439, allocations: 390.7 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.544, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.544, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.544, allocations: 11.98 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.544, allocations: 3.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.544, allocations: 3.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.5441, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.5443, allocations: 207.4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.5444, allocations: 81.09 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.5444, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.5445, allocations: 11.94 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.5446, allocations: 7.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.5446, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.5447, allocations: 95.27 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.583e-06/0.5447, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003083/0.545, allocations: 43.88 kB / 1.023 GB, free: 12.28 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.0008436/0.5458, allocations: 0.8 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.5461, allocations: 71.89 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5461, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.5462, allocations: 36.11 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5465, allocations: 15.81 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5481, allocations: 1.492 MB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.5483, allocations: 0.6887 MB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.5484, allocations: 0.5469 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.5484, allocations: 23.42 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.5484, allocations: 4 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.5604, allocations: 2.417 MB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.5606, allocations: 270.9 kB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.166, allocations: 0 / 1.028 GB, free: 6.426 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