Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.00124/0.00124, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001276/0.001276, allocations: 201.3 kB / 16.14 MB, free: 6.801 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.378/2.378, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.502, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002837/0.5048, allocations: 1.566 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.5061, allocations: 0.7402 MB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.5062, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.5062, allocations: 3.938 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-05/0.5063, allocations: 7.938 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.5068, allocations: 107.7 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.5069, allocations: 67.83 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.854e-05/0.507, allocations: 16 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.5071, allocations: 31.84 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.5072, allocations: 39.83 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.5072, allocations: 4 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.5074, allocations: 87.91 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.5074, allocations: 15.92 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.5075, allocations: 23.86 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.5077, allocations: 145.9 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5077, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5077, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.5077, allocations: 0 / 1.019 GB, free: 15.93 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.0006247/0.5084, allocations: 421 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5084, allocations: 8.031 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.524e-05/0.5085, allocations: 34.75 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.5085, allocations: 8.844 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5086, allocations: 180.2 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5087, allocations: 4.375 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.5087, allocations: 12.31 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.5089, allocations: 69.78 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.5089, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5089, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5089, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.5091, allocations: 35.97 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.5096, allocations: 316.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.5098, allocations: 46.56 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.5099, allocations: 40.89 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.5099, allocations: 7.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.5101, allocations: 75.44 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5101, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003914/0.5105, allocations: 137.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.5106, allocations: 55.41 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.028e-05/0.5107, allocations: 117.8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.5107, allocations: 29.7 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.5107, allocations: 92.08 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.5108, allocations: 11.81 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.5108, allocations: 33.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5109, allocations: 326.8 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.511, allocations: 19.98 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.5111, allocations: 50.56 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.5113, allocations: 78.59 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5113, allocations: 11.94 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002237/0.5115, allocations: 105.5 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.5116, allocations: 8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5116, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5116, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5117, allocations: 11.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.5117, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.5118, allocations: 19.91 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5118, allocations: 7.984 kB / 1.022 GB, free: 13.32 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.717e-05/0.5119, allocations: 118.3 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.5119, allocations: 7.938 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.5119, allocations: 12.31 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5119, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.512, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.512, allocations: 3.984 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.5124, allocations: 390.4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5124, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.5125, allocations: 7.984 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5125, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5125, allocations: 3.938 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5125, allocations: 3.938 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5125, allocations: 3.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.5128, allocations: 211.4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.5128, allocations: 77.11 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.5129, allocations: 8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.5129, allocations: 3.938 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.513, allocations: 7.984 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.513, allocations: 0 / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.5131, allocations: 95.27 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5131, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002827/0.5134, allocations: 39.98 kB / 1.023 GB, free: 12.24 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.08247/0.5958, allocations: 0.808 MB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.5961, allocations: 71.89 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5961, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.5962, allocations: 31.98 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.5966, allocations: 23.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5983, allocations: 1.486 MB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.5986, allocations: 0.6926 MB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.74e-05/0.5986, allocations: 4 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.5987, allocations: 19.42 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5987, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.6425, allocations: 2.42 MB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.6427, allocations: 261.9 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.551, allocations: 0 / 1.028 GB, free: 6.41 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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