Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007584/0.007584, allocations: 100.7 kB / 15.73 MB, free: 6.047 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.001737/0.001738, allocations: 197.4 kB / 16.67 MB, free: 5.977 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.612/1.612, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 61.16 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3187, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002891/0.3216, allocations: 1.486 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3231, allocations: 0.7181 MB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.774e-05/0.3231, allocations: 3.938 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.3232, allocations: 3.938 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.3233, allocations: 23.84 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.324, allocations: 123.6 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3241, allocations: 67.84 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3242, allocations: 19.97 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3244, allocations: 39.84 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.389e-05/0.3245, allocations: 35.84 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.3245, allocations: 12 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.3247, allocations: 95.78 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.3247, allocations: 23.91 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.3248, allocations: 31.84 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.3251, allocations: 143.6 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3251, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3251, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3251, allocations: 0 / 1.091 GB, free: 14.7 MB / 0.8575 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.0006853/0.3258, allocations: 413 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3258, allocations: 12.03 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.3259, allocations: 8.844 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.326, allocations: 176.2 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.3261, allocations: 4.375 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3261, allocations: 16.25 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3263, allocations: 65.97 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3263, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3264, allocations: 0 / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3264, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3266, allocations: 39.97 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.3275, allocations: 312.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.3276, allocations: 58.48 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.3277, allocations: 32.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.3278, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.328, allocations: 79.36 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.328, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004791/0.3285, allocations: 141.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3286, allocations: 55.47 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3287, allocations: 126.2 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3288, allocations: 25.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.3289, allocations: 99.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.3289, allocations: 7.906 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.793e-05/0.329, allocations: 29.7 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3291, allocations: 322.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.3293, allocations: 23.98 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3294, allocations: 58.59 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3296, allocations: 70.5 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3296, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.3298, allocations: 113.6 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3299, allocations: 15.94 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3299, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3299, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.33, allocations: 11.98 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.33, allocations: 7.938 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.411e-05/0.3301, allocations: 11.91 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3301, allocations: 3.984 kB / 1.093 GB, free: 12.15 MB / 0.8575 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.0001049/0.3302, allocations: 129.7 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3303, allocations: 3.906 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3303, allocations: 12.38 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3303, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3303, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3303, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.3308, allocations: 386.7 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3308, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.3308, allocations: 7.984 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3309, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3309, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3309, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3309, allocations: 3.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.3312, allocations: 207.5 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3312, allocations: 81.11 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3313, allocations: 4 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3314, allocations: 11.98 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3314, allocations: 7.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3314, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.3315, allocations: 91.27 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.814e-06/0.3315, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000312/0.3318, allocations: 51.83 kB / 1.094 GB, free: 11.06 MB / 0.8575 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.0003308/0.3322, allocations: 169.8 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3324, allocations: 71.89 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3324, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3325, allocations: 39.97 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.3328, allocations: 13.83 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.3332, allocations: 185.1 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3335, allocations: 0.6884 MB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.3335, allocations: 11.73 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.3336, allocations: 11.44 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.3336, allocations: 0 / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.004224/0.3378, allocations: 1.457 MB / 1.096 GB, free: 8.383 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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