Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 297.4 MB / 312.6 MB, free: 2.914 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 174 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 225.7 MB / 0.6617 GB, free: 7.223 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007629/0.0007631, allocations: 97.19 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003178, allocations: 8 kB / 0.9058 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.5985, allocations: 119.2 MB / 1.022 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001619/0.6002, allocations: 1.187 MB / 1.023 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.6014, allocations: 1.004 MB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.6014, allocations: 0 / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.6015, allocations: 6.5 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.6015, allocations: 6.578 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.602, allocations: 111.2 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.6021, allocations: 65.45 kB / 1.025 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.6022, allocations: 18.81 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.6023, allocations: 29.16 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.6024, allocations: 35.14 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.6024, allocations: 4.125 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.6026, allocations: 84.83 kB / 1.025 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.6026, allocations: 19.92 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.6026, allocations: 52.45 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.6029, allocations: 141 kB / 1.025 GB, free: 56.49 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6029, allocations: 0.9375 kB / 1.025 GB, free: 56.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6029, allocations: 0 / 1.025 GB, free: 56.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6029, allocations: 0 / 1.025 GB, free: 56.49 MB / 0.698 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.0005119/0.6034, allocations: 406.8 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.6035, allocations: 9.312 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.6035, allocations: 8.953 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.6036, allocations: 176.1 kB / 1.026 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.6036, allocations: 7.812 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.6037, allocations: 3.969 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.6038, allocations: 76.47 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.6039, allocations: 0 / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.6039, allocations: 2.125 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6039, allocations: 1.469 kB / 1.026 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.604, allocations: 52.42 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.6046, allocations: 318.6 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.6047, allocations: 56.89 kB / 1.026 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.6048, allocations: 37.5 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.6048, allocations: 4.641 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.605, allocations: 79.86 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.605, allocations: 1.281 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003587/0.6054, allocations: 149.6 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.6054, allocations: 56.47 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.6055, allocations: 121.6 kB / 1.026 GB, free: 55.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.6055, allocations: 25.7 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.6056, allocations: 96.19 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.6056, allocations: 9.297 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.6056, allocations: 8.688 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/0.6057, allocations: 321.2 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.6057, allocations: 29.39 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.6058, allocations: 51.84 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.606, allocations: 83.73 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.606, allocations: 0 / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002174/0.6062, allocations: 125.2 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6062, allocations: 8.406 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6062, allocations: 0 / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6063, allocations: 4.062 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.6064, allocations: 11.56 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6064, allocations: 5.25 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.6065, allocations: 16.08 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.6065, allocations: 7.406 kB / 1.027 GB, free: 54.55 MB / 0.698 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 6.985e-05/0.6066, allocations: 122.7 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.6066, allocations: 3.219 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.6066, allocations: 14.81 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6066, allocations: 1.125 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6066, allocations: 4.688 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6066, allocations: 0.8906 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.607, allocations: 380.7 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.607, allocations: 4.344 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.6071, allocations: 7.5 kB / 1.028 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6071, allocations: 3.938 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6071, allocations: 8.641 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6071, allocations: 0 / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6071, allocations: 7.422 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.6073, allocations: 212.1 kB / 1.028 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.106e-05/0.6074, allocations: 80.52 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.6074, allocations: 1.266 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.6075, allocations: 10.44 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.6075, allocations: 8.375 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.6076, allocations: 3.25 kB / 1.028 GB, free: 53.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.6076, allocations: 99.56 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6076, allocations: 0 / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002734/0.6079, allocations: 46.42 kB / 1.028 GB, free: 53.71 MB / 0.698 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.0003171/0.6082, allocations: 174.7 kB / 1.028 GB, free: 53.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.6084, allocations: 76.53 kB / 1.028 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6084, allocations: 1.562 kB / 1.028 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.6085, allocations: 41.56 kB / 1.028 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.6088, allocations: 10.31 kB / 1.028 GB, free: 53.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.6091, allocations: 215.7 kB / 1.029 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.6092, allocations: 0.6845 MB / 1.029 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.6092, allocations: 3.875 kB / 1.029 GB, free: 52.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.6093, allocations: 12.94 kB / 1.029 GB, free: 52.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6093, allocations: 0 / 1.029 GB, free: 52.7 MB / 0.698 GB Notification: Performance of Templates: time 0.003606/0.6129, allocations: 1.366 MB / 1.031 GB, free: 52.55 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)