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: 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.001599/0.001599, allocations: 105.6 kB / 16.37 MB, free: 6.469 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.002085/0.002085, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.455/2.455, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 65.12 kB / 0.8707 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3222, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003163/0.3254, allocations: 1.476 MB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3268, allocations: 0.7414 MB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.993e-05/0.3269, allocations: 0 / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.3269, allocations: 3.938 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.327, allocations: 19.84 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.3276, allocations: 115.6 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3277, allocations: 83.75 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3278, allocations: 8 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.3279, allocations: 39.84 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.328, allocations: 39.89 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.328, allocations: 8 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.3282, allocations: 87.84 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.3282, allocations: 19.92 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.3283, allocations: 39.84 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3285, allocations: 143.6 kB / 1.022 GB, free: 7.059 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3285, allocations: 0 / 1.022 GB, free: 7.059 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3286, allocations: 0 / 1.022 GB, free: 7.059 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3286, allocations: 0 / 1.022 GB, free: 7.059 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.0006011/0.3292, allocations: 420.9 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3292, allocations: 8.031 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.3293, allocations: 12.78 kB / 1.022 GB, free: 6.574 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3294, allocations: 180.2 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3294, allocations: 4.375 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.3294, allocations: 4.375 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.3296, allocations: 73.97 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3296, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3297, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3297, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3298, allocations: 39.97 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.3304, allocations: 320.7 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3305, allocations: 42.56 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.3306, allocations: 36.97 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3306, allocations: 3.984 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.3308, allocations: 79.33 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003875/0.3312, allocations: 141.5 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.3313, allocations: 51.41 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.3314, allocations: 117.8 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.3314, allocations: 37.62 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.3314, allocations: 96.2 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3315, allocations: 15.75 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.3315, allocations: 29.7 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3317, allocations: 322.8 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.3317, allocations: 27.98 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.181e-05/0.3318, allocations: 46.5 kB / 1.024 GB, free: 4.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.332, allocations: 78.48 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.332, allocations: 0 / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.3323, allocations: 113.5 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3323, allocations: 4 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3323, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3323, allocations: 8.062 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.3324, allocations: 15.92 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3324, allocations: 400 / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.3325, allocations: 7.906 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3325, allocations: 4 kB / 1.024 GB, free: 4.516 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.521e-05/0.3326, allocations: 128.2 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.3326, allocations: 4 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.3327, allocations: 4.375 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3327, allocations: 8 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3327, allocations: 0 / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3327, allocations: 0 / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3331, allocations: 394.2 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3331, allocations: 0 / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.3332, allocations: 11.98 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3332, allocations: 0 / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3332, allocations: 0 / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3332, allocations: 4 kB / 1.024 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3332, allocations: 7.938 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3335, allocations: 215.3 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3335, allocations: 81.11 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.3336, allocations: 0 / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/0.3336, allocations: 4 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3337, allocations: 11.86 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3337, allocations: 12 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.3338, allocations: 95.86 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3338, allocations: 0 / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002944/0.3341, allocations: 39.98 kB / 1.025 GB, free: 3.418 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.000328/0.3344, allocations: 150.6 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.3347, allocations: 79.89 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3347, allocations: 0 / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.668e-05/0.3348, allocations: 35.97 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.335, allocations: 8 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.3354, allocations: 180.8 kB / 1.025 GB, free: 2.949 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3357, allocations: 0.6886 MB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.3357, allocations: 7.984 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.3358, allocations: 11.44 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of SimCode: time 3.71e-07/0.3358, allocations: 0 / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of Templates: time 0.004052/0.3398, allocations: 1.461 MB / 1.027 GB, free: 0.7578 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=480 -s cvode -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) "" 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