Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_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.001408/0.001408, 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.001626/0.001626, allocations: 195.5 kB / 16.25 MB, free: 6.625 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.468/2.468, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6477, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002439/0.6501, allocations: 1.546 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.6512, allocations: 0.7169 MB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.6513, allocations: 4 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.6513, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.6513, allocations: 7.922 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.6518, allocations: 115.7 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.6519, allocations: 75.84 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.269e-05/0.652, allocations: 7.938 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.652, allocations: 43.89 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.6521, allocations: 39.84 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.6521, allocations: 4 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.6523, allocations: 91.91 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.6523, allocations: 19.92 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.6524, allocations: 39.88 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.6526, allocations: 133.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.6526, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6526, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6526, allocations: 4 kB / 1.02 GB, free: 15.83 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.0004791/0.6531, allocations: 424.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.6531, allocations: 12.03 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.6532, allocations: 34.75 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.6532, allocations: 8.844 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.6533, allocations: 172.3 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.6533, allocations: 4.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.6533, allocations: 4.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.6535, allocations: 73.62 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.6535, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.6535, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6535, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.6536, allocations: 35.97 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.6542, allocations: 320.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6543, allocations: 58.48 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.6544, allocations: 32.91 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.6544, allocations: 3.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.6546, allocations: 83.38 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.6546, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003459/0.6549, allocations: 145.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.655, allocations: 55.41 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.6551, allocations: 121.8 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.6551, allocations: 25.7 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.6551, allocations: 92.14 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.6551, allocations: 11.81 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.6552, allocations: 29.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.6553, allocations: 326.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.6554, allocations: 23.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.6555, allocations: 50.92 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.6556, allocations: 78.5 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6556, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002274/0.6559, allocations: 109.5 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.6559, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6559, allocations: 4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.6559, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.656, allocations: 11.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.656, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.6561, allocations: 19.91 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.6561, allocations: 7.984 kB / 1.022 GB, free: 13.23 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.69e-05/0.6562, allocations: 122.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.6562, allocations: 7.938 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.6563, allocations: 12.38 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6563, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6563, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.6563, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.6567, allocations: 382.4 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6567, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.6568, allocations: 19.86 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6568, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6568, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6568, allocations: 3.938 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6568, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.6571, allocations: 211.9 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.6571, allocations: 85.02 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.6571, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.6572, allocations: 15.92 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.6573, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.6573, allocations: 4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.6573, allocations: 91.27 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6573, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000275/0.6576, allocations: 47.92 kB / 1.023 GB, free: 12.14 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.0006486/0.6583, allocations: 0.7979 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.6585, allocations: 75.89 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.6585, allocations: 3.938 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/0.6586, 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.0002382/0.6588, allocations: 21.25 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.6603, allocations: 1.494 MB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.6605, allocations: 0.6924 MB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.6605, allocations: 7.984 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.6606, allocations: 23.38 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6606, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5124/1.173, allocations: 2.495 MB / 1.028 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004208/1.173, allocations: 272.4 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/3.196, allocations: 0 / 1.029 GB, free: 6.184 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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