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.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.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.001071/0.001071, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.711/2.711, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.89 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6904, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00238/0.6928, allocations: 1.475 MB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.694, allocations: 0.7362 MB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.694, allocations: 0 / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.6941, allocations: 3.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.6942, allocations: 15.86 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.6947, allocations: 119.6 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.6949, allocations: 75.78 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.695, allocations: 19.92 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.6951, allocations: 35.91 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.6951, allocations: 39.83 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.6952, allocations: 8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.6954, allocations: 95.84 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.6954, allocations: 23.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.6955, allocations: 27.86 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.6957, allocations: 137.6 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6957, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6957, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6958, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 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.0006684/0.6964, allocations: 420.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6965, allocations: 12.03 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.6965, allocations: 8.844 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.6966, allocations: 164.4 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6967, allocations: 384 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.6967, allocations: 4.375 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.6969, allocations: 85.89 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6969, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6969, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6969, allocations: 0 / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.6971, allocations: 35.97 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.6977, allocations: 328.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.6978, allocations: 50.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.6979, allocations: 32.97 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.698, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.6982, allocations: 83.36 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.6982, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000421/0.6986, allocations: 141.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.6987, allocations: 55.41 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.6988, allocations: 129.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.6988, allocations: 25.7 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.6989, allocations: 88.14 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.6989, allocations: 15.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.887e-05/0.699, allocations: 29.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6991, allocations: 326.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.6992, allocations: 23.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.6993, allocations: 46.55 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6995, allocations: 78.48 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6995, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002481/0.6997, allocations: 113.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6998, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6998, allocations: 3.984 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6998, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.6999, allocations: 8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6999, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.7, allocations: 23.89 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.7, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 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.0001174/0.7001, allocations: 123.2 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.7002, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.7002, allocations: 12.36 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7002, allocations: 7.984 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7002, allocations: 3.938 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7002, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.7007, allocations: 378.4 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7007, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.7008, allocations: 7.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7008, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7008, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7008, allocations: 3.984 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7008, allocations: 3.938 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.7011, allocations: 211.5 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.7011, allocations: 85.02 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.7012, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.7013, allocations: 3.984 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.7013, allocations: 11.94 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.7013, allocations: 11.98 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.937e-05/0.7014, allocations: 91.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7014, allocations: 4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003241/0.7017, allocations: 39.94 kB / 1.023 GB, free: 12.06 MB / 0.7794 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.0003679/0.7021, allocations: 161.5 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.7024, allocations: 75.89 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7024, allocations: 4.125 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.7025, allocations: 31.98 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.7028, allocations: 13.11 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.7032, allocations: 182.4 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.7035, allocations: 0.6962 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.894e-05/0.7035, allocations: 7.938 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.7036, allocations: 11.44 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7036, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.004609/0.7082, allocations: 1.453 MB / 1.026 GB, free: 9.391 MB / 0.7794 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 -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/jenkins/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