Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.001127/0.001127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009798/0.0009798, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.342/2.342, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.8688 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5516, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003208/0.5549, allocations: 1.572 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.5562, allocations: 0.7208 MB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.5563, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.463e-05/0.5563, allocations: 3.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.5564, allocations: 11.91 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.5569, allocations: 107.8 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.986e-05/0.557, allocations: 83.7 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.5571, allocations: 15.98 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.339e-05/0.5572, allocations: 31.92 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.5573, allocations: 43.81 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.5573, allocations: 8 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.5575, allocations: 95.84 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.5576, allocations: 19.92 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.5576, allocations: 31.84 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.5579, allocations: 133.9 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.5579, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5579, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5579, allocations: 4 kB / 1.02 GB, free: 15.77 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.0006151/0.5585, allocations: 424.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5586, allocations: 12.03 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.5586, allocations: 30.75 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.5586, allocations: 8.844 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5588, allocations: 168.4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.5588, allocations: 8.375 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.5588, allocations: 8.312 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.559, allocations: 73.72 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.559, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.559, allocations: 4 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.559, allocations: 4 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5592, allocations: 35.97 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.5598, allocations: 324.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.5599, allocations: 46.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.56, allocations: 32.97 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.56, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.5602, allocations: 79.38 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5602, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003713/0.5606, allocations: 145.5 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5607, allocations: 51.41 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.5607, allocations: 117.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.5608, allocations: 29.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.5608, allocations: 92.2 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.5609, allocations: 15.8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.5609, allocations: 33.7 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.561, allocations: 322.8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.5611, allocations: 27.98 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.5612, allocations: 47.42 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.5613, allocations: 87.34 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5613, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.5616, allocations: 113.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.5616, allocations: 7.984 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.5616, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.5616, allocations: 48 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.908e-05/0.5617, allocations: 19.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5617, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.5618, allocations: 15.83 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.5618, allocations: 8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.018e-05/0.5619, allocations: 118.3 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.5619, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.562, allocations: 12.36 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.562, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.562, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.562, allocations: 3.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.5624, allocations: 382.4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5624, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.5625, allocations: 4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5625, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5625, allocations: 3.984 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.5625, allocations: 7.875 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5625, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.5628, allocations: 207.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.219e-05/0.5628, allocations: 81.02 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.5629, allocations: 7.984 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.5629, allocations: 3.938 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.563, allocations: 8 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.563, allocations: 3.984 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.563, allocations: 99.27 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.5631, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002725/0.5633, allocations: 39.94 kB / 1.023 GB, free: 12.07 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,occ.y,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.0007288/0.5641, allocations: 0.8049 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.5643, allocations: 75.88 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5643, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.812e-05/0.5644, allocations: 31.98 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.5647, allocations: 14.06 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.5661, allocations: 1.503 MB / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.5664, allocations: 0.6885 MB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.5664, allocations: 8.078 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.5664, allocations: 23.42 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of SimCode: time 1.653e-06/0.5665, allocations: 0 / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.581/3.148, allocations: 2.483 MB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/3.148, allocations: 267.2 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/5.243, allocations: 4 kB / 1.029 GB, free: 6.148 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed