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.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.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.001356/0.001356, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001551/0.001551, allocations: 197.8 kB / 16.14 MB, free: 6.711 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.449/2.449, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.8686 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5302/0.5315, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002244/0.5337, allocations: 1.531 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.5348, allocations: 0.7518 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.5349, allocations: 3.938 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.5349, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.5349, allocations: 7.922 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.5353, allocations: 103.8 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.532e-05/0.5354, allocations: 67.78 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.534e-05/0.5355, allocations: 19.98 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.069e-05/0.5356, allocations: 27.91 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.5357, allocations: 39.83 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.5357, allocations: 4 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.5358, allocations: 91.84 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.5359, allocations: 15.92 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.5359, allocations: 27.86 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.5361, allocations: 133.9 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5361, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5361, allocations: 4 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.5361, allocations: 0 / 1.019 GB, free: 15.95 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.0005213/0.5367, allocations: 421 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.5367, allocations: 8.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.5367, allocations: 42.75 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.5368, allocations: 8.844 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.687e-05/0.5369, allocations: 180.2 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.5369, allocations: 384 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.5369, allocations: 16.31 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.5371, allocations: 69.78 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.5371, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5371, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.5371, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.5372, allocations: 35.97 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.5378, allocations: 324.7 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.5379, allocations: 46.55 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.528e-05/0.538, allocations: 32.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.538, allocations: 3.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.5382, allocations: 91.42 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5382, allocations: 3.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003493/0.5385, allocations: 129.5 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.5386, allocations: 59.41 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.5387, allocations: 121.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5387, allocations: 25.7 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.5387, allocations: 92.14 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.5388, allocations: 11.81 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.5388, allocations: 29.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.5389, allocations: 326.8 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.539, allocations: 23.98 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.5391, allocations: 46.98 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.5392, allocations: 78.81 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5392, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002203/0.5395, allocations: 117.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.5395, allocations: 7.938 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.5395, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.5395, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.5396, allocations: 19.98 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5396, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.5397, allocations: 15.84 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.5397, allocations: 7.984 kB / 1.022 GB, free: 13.34 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 7.619e-05/0.5398, allocations: 118.3 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.5398, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.5398, allocations: 8.375 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5398, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5398, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5399, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.5403, allocations: 382.3 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5403, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.5403, allocations: 11.98 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5403, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.5403, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5403, allocations: 3.938 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5403, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.5406, allocations: 211.3 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.5406, allocations: 81.11 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.5407, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/0.5408, allocations: 11.92 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.5408, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.5408, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.5409, allocations: 103.4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5409, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002677/0.5411, allocations: 43.92 kB / 1.023 GB, free: 12.26 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.0006356/0.5418, allocations: 0.7976 MB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.542, allocations: 72.25 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.542, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.933e-05/0.5421, allocations: 35.92 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.5423, allocations: 14.73 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.5437, allocations: 1.506 MB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.5439, allocations: 0.6887 MB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.544, allocations: 4 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.544, allocations: 19.42 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.544, allocations: 3.938 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5828/1.127, allocations: 2.416 MB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/1.127, allocations: 266.9 kB / 1.028 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.976, allocations: 0 / 1.028 GB, free: 6.363 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