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.0009489/0.0009488, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001258/0.001258, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.663/2.663, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7355, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002482/0.738, allocations: 1.544 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.7393, allocations: 0.7168 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.7393, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.7394, allocations: 3.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.7394, allocations: 7.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.7399, allocations: 115.8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7401, allocations: 79.75 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.7401, allocations: 11.94 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.7402, allocations: 35.91 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.7403, allocations: 39.83 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.7403, allocations: 8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.7405, allocations: 95.91 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.117e-05/0.7405, allocations: 15.92 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.7406, allocations: 39.84 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.7408, allocations: 137.6 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7409, allocations: 3.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7409, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7409, allocations: 0 / 1.02 GB, free: 15.85 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.000616/0.7415, allocations: 428.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.7415, allocations: 12.03 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.7416, allocations: 8.844 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.7417, allocations: 160.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.7417, allocations: 8.375 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.7418, allocations: 8.359 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.7419, allocations: 73.91 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.742, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.742, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.742, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.7421, allocations: 43.97 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.7427, allocations: 316.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.7428, allocations: 46.56 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.7429, allocations: 40.91 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.743, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.7432, allocations: 83.38 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.7432, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003744/0.7435, allocations: 137.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.7436, allocations: 59.41 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.769e-05/0.7437, allocations: 122.1 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.7437, allocations: 29.7 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.7438, allocations: 88.12 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.7438, allocations: 11.81 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.7438, allocations: 29.7 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.744, allocations: 322.8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.744, allocations: 27.97 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.7441, allocations: 54.61 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.7443, allocations: 82.77 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7443, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00022/0.7445, allocations: 113.5 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.7445, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7446, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.7446, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.7447, allocations: 19.97 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7447, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.7448, allocations: 15.84 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.7448, allocations: 4 kB / 1.022 GB, free: 13.29 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.0001073/0.7449, allocations: 130.2 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.7449, allocations: 7.984 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.745, allocations: 12.31 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.745, allocations: 3.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.745, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.745, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.7454, allocations: 382.4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7454, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.7455, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.7455, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.7455, allocations: 7.922 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.7455, allocations: 0 / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7455, allocations: 3.938 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.7458, allocations: 203.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.7458, allocations: 89 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.7459, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.746, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.746, allocations: 11.92 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.746, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.7461, allocations: 91.27 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7461, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002899/0.7464, allocations: 39.94 kB / 1.023 GB, free: 12.21 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.0003091/0.7467, allocations: 158.7 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.7469, allocations: 75.95 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.747, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.7471, allocations: 40.3 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.7473, allocations: 22.86 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.7477, allocations: 189.7 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.7479, allocations: 0.6923 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.748, allocations: 11.98 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.748, allocations: 15.42 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.748, allocations: 3.938 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.003922/0.752, allocations: 1.397 MB / 1.025 GB, free: 9.574 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=480 -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