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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001713/0.001713, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001969/0.001969, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.55 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003073/0.2708, allocations: 1.472 MB / 0.9517 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2722, allocations: 0.7362 MB / 0.9524 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.2723, allocations: 3.938 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.2724, allocations: 3.938 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.2725, allocations: 15.86 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.2731, allocations: 115.6 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.2733, allocations: 79.77 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.2734, allocations: 19.98 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.2735, allocations: 39.83 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.2736, allocations: 35.84 kB / 0.9527 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.2736, allocations: 8 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.2738, allocations: 91.91 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.2738, allocations: 19.97 kB / 0.9528 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.2739, allocations: 31.8 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2741, allocations: 139.9 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2741, allocations: 3.938 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2741, allocations: 4 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.2742, allocations: 0 / 0.953 GB, free: 6.07 MB / 0.7325 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.0006502/0.2748, allocations: 426.3 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2749, allocations: 8.031 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.2749, allocations: 8.844 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2751, allocations: 168.3 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2751, allocations: 384 / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.2751, allocations: 12.36 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2753, allocations: 77.95 kB / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2754, allocations: 0 / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2754, allocations: 0 / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2754, allocations: 0 / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.2755, allocations: 43.91 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.2762, allocations: 316.7 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.2763, allocations: 42.56 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.2764, allocations: 36.97 kB / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.2764, allocations: 0 / 0.9541 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.2766, allocations: 87.31 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2767, allocations: 0 / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003966/0.2771, allocations: 145.5 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.2771, allocations: 55.41 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.2772, allocations: 121.8 kB / 0.9545 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2772, allocations: 29.64 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.2773, allocations: 92.12 kB / 0.9546 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2773, allocations: 15.75 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.2774, allocations: 37.7 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2775, allocations: 318.8 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.2776, allocations: 31.91 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.2777, allocations: 42.56 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.2779, allocations: 74.55 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2779, allocations: 0 / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002575/0.2782, allocations: 117.5 kB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2782, allocations: 4 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2782, allocations: 4 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2782, allocations: 7.938 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2783, allocations: 11.98 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2783, allocations: 4.453 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.2784, allocations: 11.91 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.2784, allocations: 4 kB / 0.9553 GB, free: 3.516 MB / 0.7325 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.0001089/0.2786, allocations: 125.2 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.2786, allocations: 7.984 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.2786, allocations: 8.375 kB / 0.9554 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2786, allocations: 7.984 kB / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2786, allocations: 0 / 0.9554 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.2786, allocations: 4 kB / 0.9554 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.2791, allocations: 386.2 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2791, allocations: 0 / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.2792, allocations: 4 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2792, allocations: 0 / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2792, allocations: 7.984 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2792, allocations: 7.938 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2792, allocations: 3.938 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.2795, allocations: 207.4 kB / 0.956 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.2796, allocations: 89 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2796, allocations: 0 / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.2797, allocations: 8 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.2798, allocations: 7.922 kB / 0.9561 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.2798, allocations: 4 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.765e-05/0.2799, allocations: 95.27 kB / 0.9562 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2799, allocations: 0 / 0.9562 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003177/0.2802, allocations: 36 kB / 0.9562 GB, free: 2.434 MB / 0.7325 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.0003868/0.2806, allocations: 162.9 kB / 0.9564 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.2809, allocations: 75.95 kB / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2809, allocations: 0 / 0.9564 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.281, allocations: 35.92 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.2813, allocations: 13.48 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/0.2818, allocations: 214.7 kB / 0.9567 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2821, allocations: 0.6922 MB / 0.9574 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.2821, allocations: 7.438 kB / 0.9574 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2821, allocations: 4 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.003688/0.2858, allocations: 1.615 MB / 0.959 GB, free: 15.57 MB / 0.7481 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