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.001609/0.001609, allocations: 111.1 kB / 16.41 MB, free: 6.516 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.001752/0.001752, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.14 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.634/2.634, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 60.36 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9715/0.9735, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002893/0.9764, allocations: 1.478 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.978, allocations: 0.7362 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.9781, allocations: 4 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.846e-05/0.9781, allocations: 3.938 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.9782, allocations: 11.86 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.9789, allocations: 123.6 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.979, allocations: 83.7 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.9791, allocations: 7.984 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-05/0.9792, allocations: 35.89 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.579e-05/0.9793, allocations: 39.84 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.9793, allocations: 8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.9795, allocations: 95.84 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.9795, allocations: 19.97 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.187e-05/0.9795, allocations: 35.8 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.9799, allocations: 140.1 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.9799, allocations: 0 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9799, allocations: 3.938 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.9799, allocations: 0 / 1.17 GB, free: 1.02 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.0008817/0.9808, allocations: 426.9 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.9808, allocations: 8.625 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.9809, allocations: 12.89 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.981, allocations: 168.3 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.9811, allocations: 12.36 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.9811, allocations: 384 / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.9814, allocations: 69.97 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.9814, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.9814, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.9814, allocations: 4 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.9816, allocations: 47.89 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/0.9824, allocations: 312.7 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.9826, allocations: 38.56 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.9827, allocations: 32.91 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.9827, allocations: 7.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.983, allocations: 83.31 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.983, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000548/0.9835, allocations: 145.6 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.9836, allocations: 55.41 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.9837, allocations: 125.8 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.9838, allocations: 25.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.9838, allocations: 96.08 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.9839, allocations: 15.91 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.984, allocations: 29.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.9841, allocations: 322.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.9842, allocations: 23.98 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.9844, allocations: 50.5 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.9846, allocations: 70.55 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9846, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003154/0.9849, allocations: 113.5 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9849, allocations: 8.062 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.9849, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.985, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.9851, allocations: 19.92 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9851, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.653e-05/0.9852, allocations: 11.94 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.9852, allocations: 4 kB / 1.172 GB, free: 14.47 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.0001347/0.9853, allocations: 121.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.9854, allocations: 11.95 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.9854, allocations: 16.31 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9854, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.9854, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9854, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.986, allocations: 382.4 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.986, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.9861, allocations: 7.984 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.9861, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.9861, allocations: 12 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9861, allocations: 0 / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.9861, allocations: 3.938 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.9865, allocations: 203.4 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.9866, allocations: 89.05 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.9866, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.9867, allocations: 8 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.9868, allocations: 11.92 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.9868, allocations: 7.938 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.962e-05/0.9869, allocations: 91.27 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9869, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004592/0.9873, allocations: 35.94 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.0004979/0.9878, allocations: 168.3 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.9882, allocations: 71.88 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9882, allocations: 3.938 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.9883, allocations: 27.98 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.0003629/0.9887, allocations: 8.547 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/0.9892, allocations: 200.9 kB / 1.174 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.9896, allocations: 0.6885 MB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.347e-05/0.9897, allocations: 0 / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.9897, allocations: 15.42 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.9897, allocations: 0 / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.006067/0.9958, allocations: 1.471 MB / 1.176 GB, free: 10.71 MB / 0.9044 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=480 -s cvode -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/jenkins1/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