Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001283/0.001283, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.289/1.289, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.396/2.396, allocations: 437 MB / 0.71 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 63.91 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.5758, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002496/0.5783, allocations: 1.552 MB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.5795, allocations: 0.7363 MB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.5796, allocations: 8 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.5796, allocations: 0 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.5797, allocations: 11.81 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.5801, allocations: 99.77 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.5802, allocations: 71.83 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.794e-05/0.5803, allocations: 11.98 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.5804, allocations: 39.84 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/0.5805, allocations: 39.83 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.5805, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.5807, allocations: 87.91 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.5807, allocations: 15.92 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.5808, allocations: 27.86 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.581, allocations: 137.9 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.581, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.62e-07/0.581, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.581, allocations: 0 / 1.019 GB, free: 15.97 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.0005643/0.5816, allocations: 434.3 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5816, allocations: 8.031 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.5817, allocations: 30.75 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.5817, allocations: 8.844 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5818, allocations: 176.3 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.5818, allocations: 8.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.5818, allocations: 4.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.582, allocations: 65.78 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.582, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.5821, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5821, allocations: 7.938 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.5822, allocations: 35.97 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.5828, allocations: 308.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.5829, allocations: 58.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.583, allocations: 28.97 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.5831, allocations: 7.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.5832, allocations: 75.39 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.5832, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003765/0.5836, allocations: 145.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.5837, allocations: 51.41 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.5838, allocations: 118.2 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5838, allocations: 33.69 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.5838, allocations: 88.14 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.5839, allocations: 15.81 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.5839, allocations: 29.64 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.584, allocations: 326.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.984e-05/0.5841, allocations: 27.98 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.229e-05/0.5842, allocations: 50.61 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.5844, allocations: 78.53 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5844, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002324/0.5846, allocations: 113.5 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5846, allocations: 11.94 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.5846, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5847, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.5848, allocations: 11.98 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.5848, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.5848, allocations: 15.91 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.5849, allocations: 0 / 1.022 GB, free: 13.38 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.513e-05/0.5849, allocations: 130.2 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.585, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.585, allocations: 8.375 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.585, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.585, allocations: 7.875 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.585, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.5855, allocations: 386.4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5855, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.5855, allocations: 7.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5855, allocations: 3.984 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5855, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5856, allocations: 4.406 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5856, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.5858, allocations: 219.3 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.5859, allocations: 81.11 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.5859, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.586, allocations: 7.938 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.586, allocations: 7.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.586, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.697e-05/0.5861, allocations: 99.27 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5861, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002921/0.5864, allocations: 43.92 kB / 1.023 GB, free: 12.28 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.0007008/0.5871, allocations: 0.8003 MB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5873, allocations: 71.88 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5874, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.5875, allocations: 39.92 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5877, allocations: 12.48 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5893, allocations: 1.496 MB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.5895, allocations: 0.6926 MB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.5895, allocations: 4 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.5896, allocations: 23.42 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.5896, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8298/1.419, allocations: 2.425 MB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/1.42, allocations: 273.6 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/3.157, allocations: 0 / 1.028 GB, free: 6.375 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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