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.001683/0.001683, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001934/0.001934, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.545/2.545, allocations: 437.1 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.72 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002752/0.2945, allocations: 1.471 MB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2958, allocations: 0.7376 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.2958, allocations: 0 / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.939e-05/0.2959, allocations: 11.81 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.2959, allocations: 11.88 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.2965, allocations: 131.5 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.2966, allocations: 67.84 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2967, allocations: 15.98 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.2968, allocations: 31.91 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.2969, allocations: 35.84 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2969, allocations: 11.94 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2971, allocations: 91.91 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.2971, allocations: 27.89 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.2972, allocations: 31.86 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.2974, allocations: 143.9 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2974, allocations: 4 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2974, allocations: 3.938 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2975, allocations: 0 / 1.021 GB, free: 7.809 MB / 0.795 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.0006363/0.2981, allocations: 409 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2981, allocations: 8.031 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.2982, allocations: 8.844 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2983, allocations: 176.2 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2984, allocations: 4.375 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.2984, allocations: 8.375 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.2986, allocations: 77.94 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2986, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2986, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2986, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.2988, allocations: 43.91 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.2994, allocations: 312.8 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2995, allocations: 46.55 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.2996, allocations: 40.91 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.2997, allocations: 4 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.2999, allocations: 83.31 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2999, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004021/0.3003, allocations: 141.6 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3003, allocations: 51.41 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3004, allocations: 125.8 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3005, allocations: 25.7 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.3005, allocations: 96.14 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.3006, allocations: 15.75 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.3006, allocations: 29.7 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3008, allocations: 322.8 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.3009, allocations: 23.98 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.301, allocations: 54.48 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3012, allocations: 82.8 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3012, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002518/0.3014, allocations: 113.5 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3015, allocations: 4 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3015, allocations: 8.062 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3015, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.3016, allocations: 19.92 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3016, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.3017, allocations: 7.906 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3017, allocations: 7.984 kB / 1.023 GB, free: 5.258 MB / 0.795 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 9.745e-05/0.3018, allocations: 118.3 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3018, allocations: 7.938 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.3018, allocations: 12.38 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3019, allocations: 4 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3019, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3019, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.3024, allocations: 386.3 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3024, allocations: 0 / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.3024, allocations: 7.984 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3024, allocations: 0 / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3024, allocations: 4 kB / 1.023 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3025, allocations: 4 kB / 1.023 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3025, allocations: 3.938 kB / 1.023 GB, free: 4.652 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3028, allocations: 211.3 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.3028, allocations: 81.11 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3028, allocations: 4 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.3029, allocations: 7.984 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.303, allocations: 7.938 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.303, allocations: 4 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.921e-05/0.3031, allocations: 91.27 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3031, allocations: 0 / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000294/0.3034, allocations: 39.98 kB / 1.024 GB, free: 4.18 MB / 0.795 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.000353/0.3037, allocations: 174.1 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.304, allocations: 71.89 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.304, allocations: 0 / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3041, allocations: 35.92 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.3044, allocations: 8.484 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.3048, allocations: 222.7 kB / 1.024 GB, free: 3.648 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3051, allocations: 0.6885 MB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.3052, allocations: 7.438 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3052, allocations: 4 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of Templates: time 0.003571/0.3087, allocations: 1.619 MB / 1.027 GB, free: 1.305 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches