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: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001847/0.001847, allocations: 193.6 kB / 16.25 MB, free: 6.633 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.56/1.56, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.897/2.897, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.7014, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002838/0.7043, allocations: 1.538 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.7056, allocations: 0.7207 MB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.7057, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.7057, allocations: 3.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.7058, allocations: 3.938 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.7063, allocations: 115.8 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.7064, allocations: 83.69 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.7065, allocations: 12 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.7066, allocations: 39.91 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.673e-05/0.7067, allocations: 39.83 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.7067, allocations: 4 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.7069, allocations: 95.84 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.707, allocations: 19.92 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.707, allocations: 27.86 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.7073, allocations: 137.6 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7073, allocations: 12 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7073, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.7073, allocations: 0 / 1.02 GB, free: 15.91 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.0007543/0.7081, allocations: 428.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.7081, allocations: 8.031 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.7082, allocations: 12.84 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7083, allocations: 164.4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.7083, allocations: 4.312 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.7084, allocations: 16.36 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.7086, allocations: 69.97 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7086, allocations: 3.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.7086, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.7086, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.7088, allocations: 35.97 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006307/0.7095, allocations: 324.6 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.7096, allocations: 46.5 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.7097, allocations: 32.97 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.7097, allocations: 4.062 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.7099, allocations: 83.38 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.898e-06/0.71, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004073/0.7104, allocations: 145.4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.7104, allocations: 55.41 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.7105, allocations: 117.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.7106, allocations: 25.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.7106, allocations: 96.12 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.7107, allocations: 15.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.7107, allocations: 29.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.7109, allocations: 326.8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.711, allocations: 23.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/0.7111, allocations: 46.56 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.7113, allocations: 82.78 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7113, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002517/0.7116, allocations: 109.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7116, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7116, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7116, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.7117, allocations: 16.05 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7117, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.7118, allocations: 15.84 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.7118, allocations: 4 kB / 1.022 GB, free: 13.36 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 0.00014/0.712, allocations: 121.7 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.712, allocations: 7.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.712, allocations: 8.375 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.712, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.7121, allocations: 4 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7121, allocations: 7.875 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.7126, allocations: 386.3 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7126, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.7127, allocations: 4 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7127, allocations: 3.984 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.7127, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7127, allocations: 4 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7127, allocations: 11.94 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.713, allocations: 195.5 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.7131, allocations: 89 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.7131, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.7132, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.7132, allocations: 7.922 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.7132, allocations: 8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.7133, allocations: 95.2 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7133, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003076/0.7136, allocations: 39.94 kB / 1.023 GB, free: 12.27 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.0003758/0.714, allocations: 159.9 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.7143, allocations: 92.05 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7143, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.7144, allocations: 32.14 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.7147, allocations: 14.75 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.7151, allocations: 197 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.7155, allocations: 0.6885 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.7155, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.7156, allocations: 19.36 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7156, allocations: 0 / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.004875/0.7204, allocations: 1.398 MB / 1.025 GB, free: 9.637 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (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 & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0