Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.001122/0.001122, 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.001102/0.001102, 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.307/1.307, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.225/2.225, allocations: 390.2 MB / 0.6644 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.649/0.6504, allocations: 140.4 MB / 0.9492 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002374/0.6528, allocations: 1.539 MB / 0.9507 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.6537, allocations: 0.721 MB / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.6538, allocations: 1.344 kB / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.6538, allocations: 3.984 kB / 0.9514 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.997e-05/0.6539, allocations: 13.2 kB / 0.9514 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.6544, allocations: 111.2 kB / 0.9516 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.851e-05/0.6545, allocations: 74.7 kB / 0.9516 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.94e-05/0.6545, allocations: 22.08 kB / 0.9516 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.492e-05/0.6546, allocations: 33.81 kB / 0.9517 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.6547, allocations: 39.11 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.6547, allocations: 6.812 kB / 0.9517 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.6549, allocations: 102 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.6549, allocations: 15.05 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.6549, allocations: 36.81 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.6551, allocations: 135.2 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6551, allocations: 1.719 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6551, allocations: 3.938 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.6551, allocations: 4 kB / 0.952 GB, free: 7.082 MB / 0.7169 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.0004676/0.6556, allocations: 428.3 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.6557, allocations: 9.062 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.521e-05/0.6557, allocations: 31.97 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.6557, allocations: 4.406 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.07e-05/0.6558, allocations: 167.9 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.6558, allocations: 11.73 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.6558, allocations: 3.469 kB / 0.9526 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.656, allocations: 76.66 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.656, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.656, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.656, allocations: 1.281 kB / 0.9527 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.6561, allocations: 40.91 kB / 0.9527 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.6566, allocations: 326.1 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.6568, allocations: 43.84 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.6568, allocations: 32.62 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.6569, allocations: 0 / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.657, allocations: 77.12 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.657, allocations: 5.062 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003371/0.6574, allocations: 144.1 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.6574, allocations: 53.81 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.6575, allocations: 120.6 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.6575, allocations: 34.83 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.6575, allocations: 90.88 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.6575, allocations: 14.06 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.6576, allocations: 30.64 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.6576, allocations: 323.9 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.6577, allocations: 27.39 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.6578, allocations: 48.22 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.6579, allocations: 78.06 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6579, allocations: 4 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001945/0.6581, allocations: 113.3 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6582, allocations: 5.625 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6582, allocations: 0 / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.6582, allocations: 1.5 kB / 0.9542 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.6583, allocations: 17.14 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.6583, allocations: 9.188 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.238e-05/0.6583, allocations: 6.969 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.6584, allocations: 4.438 kB / 0.9543 GB, free: 4.895 MB / 0.7169 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.853e-05/0.6584, allocations: 129.6 kB / 0.9544 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.6585, allocations: 7.25 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/0.6585, allocations: 5.812 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.6585, allocations: 0 / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6585, allocations: 1.406 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6585, allocations: 4 kB / 0.9544 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.6588, allocations: 386.1 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6588, allocations: 1.469 kB / 0.9548 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.6589, allocations: 6.859 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6589, allocations: 1.094 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6589, allocations: 1.625 kB / 0.9548 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6589, allocations: 7.875 kB / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6589, allocations: 0 / 0.9548 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.6591, allocations: 214 kB / 0.955 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.6592, allocations: 90.11 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.6592, allocations: 1.062 kB / 0.9551 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.6593, allocations: 7.281 kB / 0.9551 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.6593, allocations: 6.297 kB / 0.9551 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.6593, allocations: 6.25 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.6594, allocations: 96.36 kB / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6594, allocations: 1.031 kB / 0.9552 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002784/0.6596, allocations: 39.75 kB / 0.9553 GB, free: 3.977 MB / 0.7169 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.0005325/0.6602, allocations: 0.8054 MB / 0.956 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.6604, allocations: 77.91 kB / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6604, allocations: 0 / 0.9561 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.6605, allocations: 32.33 kB / 0.9561 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.6608, allocations: 12.06 kB / 0.9562 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.6619, allocations: 1.505 MB / 0.9576 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.662, allocations: 0.6885 MB / 0.9583 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.662, allocations: 1.969 kB / 0.9583 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.6621, allocations: 23.17 kB / 0.9583 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.6621, allocations: 0 / 0.9583 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.6864, allocations: 2.485 MB / 0.9607 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.6867, allocations: 263.3 kB / 0.961 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/2.287, allocations: 2.031 kB / 0.961 GB, free: 15.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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