Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001089/0.001089, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.328/1.328, 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.376/2.376, allocations: 437.1 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.28 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2968, allocations: 151.6 MB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002861/0.2997, allocations: 1.479 MB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3011, allocations: 0.7337 MB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.47e-05/0.3011, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.3012, allocations: 11.92 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.3012, allocations: 15.86 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.3018, allocations: 119.6 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3019, allocations: 71.84 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.954e-05/0.302, allocations: 7.984 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.3021, allocations: 47.78 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.3022, allocations: 43.89 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3022, allocations: 4 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3024, allocations: 91.84 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3024, allocations: 19.92 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.3025, allocations: 39.78 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3027, allocations: 139.6 kB / 1.022 GB, free: 7.074 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3027, allocations: 0 / 1.022 GB, free: 7.074 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3027, allocations: 4 kB / 1.022 GB, free: 7.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3027, allocations: 0 / 1.022 GB, free: 7.07 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.0005927/0.3033, allocations: 416.9 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3034, allocations: 12.03 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3034, allocations: 12.83 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3035, allocations: 172.2 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.3036, allocations: 4.375 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3036, allocations: 8.312 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3038, allocations: 73.97 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3038, allocations: 0 / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3038, allocations: 0 / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3038, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3039, allocations: 35.97 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3046, allocations: 316.8 kB / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3047, allocations: 50.48 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.3048, allocations: 40.97 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3048, allocations: 0 / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.305, allocations: 75.38 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.305, allocations: 0 / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003935/0.3054, allocations: 137.5 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.3055, allocations: 59.48 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.3056, allocations: 121.8 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3056, allocations: 29.7 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.3057, allocations: 92.12 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3057, allocations: 19.73 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.3057, allocations: 21.72 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3058, allocations: 326.8 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.3059, allocations: 31.92 kB / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.705e-05/0.306, allocations: 50.55 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3062, allocations: 70.5 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3062, allocations: 0 / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000225/0.3064, allocations: 117.5 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3064, allocations: 6.812 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3065, allocations: 0 / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3065, allocations: 4 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3066, allocations: 11.98 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3066, allocations: 0 / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.3067, allocations: 11.89 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3067, allocations: 7.938 kB / 1.024 GB, free: 4.531 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 8.403e-05/0.3068, allocations: 130.3 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3068, allocations: 4 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.3068, allocations: 4.375 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3068, allocations: 7.984 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3068, allocations: 0 / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3068, allocations: 3.984 kB / 1.024 GB, free: 4.375 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.3073, allocations: 390.2 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3073, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3073, allocations: 8 kB / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3073, allocations: 0 / 1.024 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3074, allocations: 4 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3074, allocations: 480 / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3074, allocations: 3.938 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3076, allocations: 215.4 kB / 1.025 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.3077, allocations: 77.11 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3077, allocations: 8 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.3078, allocations: 7.922 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3079, allocations: 7.938 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3079, allocations: 11.98 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.823e-05/0.3079, allocations: 91.88 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.308, allocations: 3.938 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002855/0.3082, allocations: 39.98 kB / 1.025 GB, free: 3.434 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.0003151/0.3086, allocations: 151.5 kB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3088, allocations: 79.88 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3088, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.3089, allocations: 31.98 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3092, allocations: 10.34 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.3096, allocations: 181 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.3098, allocations: 0.6923 MB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.3099, allocations: 4 kB / 1.026 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.3099, allocations: 11.44 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3099, allocations: 0 / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of Templates: time 0.004083/0.314, allocations: 1.46 MB / 1.027 GB, free: 0.7773 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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