Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,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.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001542/0.001542, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.629/1.629, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.908/2.908, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6951, allocations: 151.6 MB / 1.017 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002799/0.6979, allocations: 1.534 MB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.6992, allocations: 0.744 MB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.6993, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.517e-05/0.6993, allocations: 3.938 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.6994, allocations: 15.91 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.6999, allocations: 99.77 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.7, allocations: 67.84 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.7001, allocations: 15.98 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.7002, allocations: 39.78 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.7002, allocations: 31.91 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.7003, allocations: 4 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.7004, allocations: 87.91 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.7005, allocations: 19.91 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.7005, allocations: 27.86 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.7008, allocations: 137.6 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7008, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7008, allocations: 0 / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.7008, allocations: 4 kB / 1.019 GB, free: 0 / 0.7637 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.0006866/0.7015, allocations: 421 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7015, allocations: 12.03 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.7016, allocations: 8.844 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.7017, allocations: 172.3 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.7018, allocations: 4.312 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.7018, allocations: 8.375 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.702, allocations: 81.89 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.702, allocations: 3.984 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.702, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.702, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.7022, allocations: 39.97 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.7028, allocations: 320.7 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.703, allocations: 46.5 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.7031, allocations: 36.91 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.7031, allocations: 3.984 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.7033, allocations: 79.39 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.7033, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004259/0.7038, allocations: 137.6 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.7038, allocations: 55.41 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.704, allocations: 125.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.704, allocations: 29.69 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.7041, allocations: 92.14 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.7041, allocations: 11.81 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.7042, allocations: 29.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7044, allocations: 326.8 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.7045, allocations: 19.98 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.7046, allocations: 46.56 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.7048, allocations: 78.48 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7048, allocations: 0 / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002833/0.7051, allocations: 121.4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7051, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7051, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7051, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.7052, allocations: 16.05 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7052, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.7053, allocations: 11.84 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.7054, allocations: 8.391 kB / 1.022 GB, free: 13.45 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.0001303/0.7055, allocations: 125.7 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.7055, allocations: 4 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.7056, allocations: 8.375 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7056, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.7056, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7056, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.7061, allocations: 378.4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7061, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.7062, allocations: 7.984 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7062, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.7062, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7062, allocations: 3.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7063, allocations: 7.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.7066, allocations: 215.4 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.7066, allocations: 77.11 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.7067, allocations: 4 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.7068, allocations: 4 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.7068, allocations: 19.86 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.7068, allocations: 8 kB / 1.022 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.7069, allocations: 91.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7069, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003159/0.7072, allocations: 43.92 kB / 1.023 GB, free: 12.36 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.0003849/0.7076, allocations: 160 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.7079, allocations: 75.91 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7079, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.708, allocations: 39.91 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.7083, allocations: 8 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.7087, allocations: 198.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.7091, allocations: 0.6848 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.7091, allocations: 7.984 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.7092, allocations: 7.438 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7092, allocations: 0 / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of Templates: time 0.00438/0.7136, allocations: 1.378 MB / 1.025 GB, free: 9.766 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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