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.007329/0.007329, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001589/0.001589, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.476/2.476, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 1.018 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8953, allocations: 151.7 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002623/0.898, allocations: 1.478 MB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.8992, allocations: 0.7323 MB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.8993, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.8993, allocations: 3.938 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.8994, allocations: 11.86 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.9, allocations: 123.6 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.9001, allocations: 79.75 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.9002, allocations: 15.98 kB / 1.169 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.9003, allocations: 35.86 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.9004, allocations: 35.83 kB / 1.169 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.9004, allocations: 8 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.9006, allocations: 99.84 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.9007, allocations: 11.98 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.9007, allocations: 39.72 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.901, allocations: 144.1 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.901, allocations: 3.984 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.901, allocations: 0 / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.901, allocations: 0 / 1.169 GB, free: 1.031 MB / 0.8887 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.0006668/0.9017, allocations: 424.7 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9017, allocations: 8.031 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.9018, allocations: 8.891 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.9019, allocations: 172.3 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.902, allocations: 4.375 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.902, allocations: 16.31 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.9022, allocations: 65.97 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.9022, allocations: 4 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.9022, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9022, allocations: 0 / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.9023, allocations: 35.97 kB / 1.17 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.903, allocations: 320.7 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.9031, allocations: 50.5 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.539e-05/0.9032, allocations: 36.95 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.9032, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.9034, allocations: 79.38 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.888e-06/0.9035, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004182/0.9039, allocations: 141.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.9039, allocations: 59.41 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.904, allocations: 117.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.9041, allocations: 29.7 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.9041, allocations: 88.09 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.9041, allocations: 19.97 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.9042, allocations: 33.7 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9043, allocations: 326.8 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/0.9044, allocations: 19.98 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.888e-05/0.9045, allocations: 50.55 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.9047, allocations: 74.8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9047, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.9049, allocations: 109.5 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9049, allocations: 8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.905, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.905, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.992e-05/0.9051, allocations: 11.98 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.9051, allocations: 8.062 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.524e-05/0.9052, allocations: 11.94 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.9052, allocations: 11.92 kB / 1.172 GB, free: 14.48 MB / 0.9044 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.0001053/0.9053, allocations: 121.7 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.9053, allocations: 7.953 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.9053, allocations: 8.375 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.9053, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.9054, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.9054, allocations: 7.938 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.9058, allocations: 386.3 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9058, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.9059, allocations: 3.984 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9059, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.9059, allocations: 8 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9059, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9059, allocations: 3.938 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.9062, allocations: 207.5 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.9063, allocations: 81.06 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.9063, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.9064, allocations: 8 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.9064, allocations: 11.92 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.9064, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.894e-05/0.9065, allocations: 103.9 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9065, allocations: 3.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000293/0.9068, allocations: 39.92 kB / 1.173 GB, free: 13.39 MB / 0.9044 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.0003435/0.9072, allocations: 159 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.9074, allocations: 71.95 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9074, allocations: 0 / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/0.9075, allocations: 40.36 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.9078, allocations: 4.562 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.9083, allocations: 196.9 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.9086, allocations: 0.6946 MB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.9086, allocations: 7.984 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.9086, allocations: 11.44 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.9087, allocations: 0 / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.003978/0.9126, allocations: 1.449 MB / 1.175 GB, free: 10.72 MB / 0.9044 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 -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