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.00195/0.00195, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.724/1.724, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.39/2.39, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.461, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002259/0.4633, allocations: 1.47 MB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4644, allocations: 0.7362 MB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.4644, allocations: 0 / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.4645, allocations: 3.938 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.4645, allocations: 15.88 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.465, allocations: 127.5 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.4651, allocations: 75.77 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.4652, allocations: 16.06 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.4653, allocations: 31.86 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.4653, allocations: 43.73 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.4654, allocations: 12 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4655, allocations: 91.91 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.4656, allocations: 19.92 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.4656, allocations: 27.86 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.4658, allocations: 141.9 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.4658, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4658, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.4658, allocations: 0 / 1.02 GB, free: 15.62 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.0005128/0.4664, allocations: 420.8 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.4664, allocations: 12.03 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.4664, allocations: 34.73 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.4665, allocations: 8.844 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.4666, allocations: 172.3 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4666, allocations: 8.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.4666, allocations: 4.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.4668, allocations: 73.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.4668, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.4668, allocations: 7.984 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4668, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.467, allocations: 31.98 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.4675, allocations: 316.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4676, allocations: 58.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.633e-05/0.4677, allocations: 28.97 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.4677, allocations: 7.938 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.4679, allocations: 75.44 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.4679, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003516/0.4683, allocations: 141.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.4683, allocations: 59.33 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.4684, allocations: 117.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4684, allocations: 29.7 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.4685, allocations: 92.12 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.4685, allocations: 15.81 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.4685, allocations: 25.7 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.4686, allocations: 318.8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.4687, allocations: 35.97 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.4688, allocations: 42.56 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.469, allocations: 78.47 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.469, allocations: 3.938 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.4692, allocations: 117.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4692, allocations: 8 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4692, allocations: 3.984 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.4692, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.4693, allocations: 11.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4693, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.4694, allocations: 11.84 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.4694, allocations: 0 / 1.022 GB, free: 13.03 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.116e-05/0.4695, allocations: 135.7 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.4695, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.4696, allocations: 16.3 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.4696, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4696, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4696, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.47, allocations: 386.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.47, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.47, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.47, allocations: 3.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.4701, allocations: 7.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4701, allocations: 3.938 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4701, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.4703, allocations: 204 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.4704, allocations: 85.02 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.4704, allocations: 3.984 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.4705, allocations: 7.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.4705, allocations: 7.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4705, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.4706, allocations: 99.27 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4706, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000269/0.4709, allocations: 39.94 kB / 1.023 GB, free: 11.94 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.0006439/0.4715, allocations: 0.8108 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4717, allocations: 75.89 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4717, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.4718, allocations: 31.98 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.4721, allocations: 8.875 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.4735, allocations: 1.49 MB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.4737, allocations: 0.6885 MB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.4737, allocations: 7.984 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.4737, allocations: 23.42 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.4737, allocations: 3.938 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.151/2.624, allocations: 2.619 MB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/10.48, allocations: 9.641 kB / 1.029 GB, free: 6.176 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