Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001852/0.001852, allocations: 100.1 kB / 15.88 MB, free: 12 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.002065/0.002065, allocations: 199.9 kB / 16.79 MB, free: 6.828 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6614, allocations: 140.4 MB / 0.9496 GB, free: 9.379 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002608/0.6641, allocations: 1.533 MB / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.6653, allocations: 0.7326 MB / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.6654, allocations: 1.375 kB / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.6654, allocations: 0 / 0.9518 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.6655, allocations: 13.23 kB / 0.9518 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.6661, allocations: 108.3 kB / 0.9519 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.6662, allocations: 79.98 kB / 0.952 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.6663, allocations: 9.297 kB / 0.952 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.6664, allocations: 33.47 kB / 0.952 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.6664, allocations: 39.98 kB / 0.9521 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.6665, allocations: 3.469 kB / 0.9521 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.6667, allocations: 89.81 kB / 0.9521 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.6667, allocations: 10.33 kB / 0.9522 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.6667, allocations: 32.64 kB / 0.9522 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.6669, allocations: 108.8 kB / 0.9523 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6669, allocations: 3.984 kB / 0.9523 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6669, allocations: 0 / 0.9523 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.6669, allocations: 0 / 0.9523 GB, free: 7.273 MB / 0.7169 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.000593/0.6675, allocations: 416.7 kB / 0.9527 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6676, allocations: 9.75 kB / 0.9527 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.6676, allocations: 3.656 kB / 0.9527 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.6678, allocations: 176.6 kB / 0.9529 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.6678, allocations: 11.12 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.6678, allocations: 4.344 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.668, allocations: 71.95 kB / 0.953 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.668, allocations: 0 / 0.953 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6681, allocations: 0 / 0.953 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6681, allocations: 1.312 kB / 0.953 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.6682, allocations: 40.56 kB / 0.953 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.6689, allocations: 325.8 kB / 0.9533 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.6691, allocations: 48.75 kB / 0.9534 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/0.6692, allocations: 35.8 kB / 0.9534 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.6692, allocations: 1.438 kB / 0.9534 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.6695, allocations: 80.52 kB / 0.9535 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6695, allocations: 0 / 0.9535 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004818/0.67, allocations: 144.7 kB / 0.9536 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.6701, allocations: 53.47 kB / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.6702, allocations: 125 kB / 0.9538 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6702, allocations: 31.14 kB / 0.9538 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.6703, allocations: 93.55 kB / 0.9539 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.6703, allocations: 14.62 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.6704, allocations: 26.11 kB / 0.9539 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.6704, allocations: 325.1 kB / 0.9542 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.6705, allocations: 27.48 kB / 0.9543 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.6706, allocations: 43.78 kB / 0.9543 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.6708, allocations: 78.05 kB / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6708, allocations: 0 / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002433/0.6711, allocations: 112.4 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6711, allocations: 5.781 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6711, allocations: 1.219 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.6711, allocations: 8.922 kB / 0.9545 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.6712, allocations: 21.11 kB / 0.9545 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.6713, allocations: 1.781 kB / 0.9545 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.6713, allocations: 6.938 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.6714, allocations: 10.92 kB / 0.9545 GB, free: 5.121 MB / 0.7169 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 9.261e-05/0.6715, allocations: 118.3 kB / 0.9547 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.6715, allocations: 7.125 kB / 0.9547 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.6715, allocations: 10.38 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6715, allocations: 5.188 kB / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6715, allocations: 0 / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6715, allocations: 0 / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.672, allocations: 383.6 kB / 0.955 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.672, allocations: 0 / 0.955 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.6721, allocations: 7.547 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6721, allocations: 1.094 kB / 0.9551 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.6721, allocations: 5.281 kB / 0.9551 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6721, allocations: 4 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6721, allocations: 3.938 kB / 0.9551 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.6724, allocations: 214.1 kB / 0.9553 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.6725, allocations: 83.33 kB / 0.9554 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.6725, allocations: 0 / 0.9554 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.6726, allocations: 3.219 kB / 0.9554 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.6726, allocations: 15.27 kB / 0.9554 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.6727, allocations: 1.094 kB / 0.9554 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.6727, allocations: 93.08 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6727, allocations: 0 / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003464/0.6731, allocations: 40.98 kB / 0.9555 GB, free: 4.219 MB / 0.7169 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.6735, allocations: 168.5 kB / 0.9557 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.6737, allocations: 69.5 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6737, allocations: 5 kB / 0.9557 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.6738, allocations: 35.78 kB / 0.9558 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.6741, allocations: 3.734 kB / 0.9558 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.6745, allocations: 232.6 kB / 0.956 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.6747, allocations: 0.6884 MB / 0.9567 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.6747, allocations: 14.77 kB / 0.9567 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6747, allocations: 0 / 0.9567 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.003562/0.6783, allocations: 1.604 MB / 0.9582 GB, free: 2.305 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches