Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.714/1.714, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.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.00102/0.00102, allocations: 179.5 kB / 393.1 MB, free: 4.082 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.561/1.561, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007769/0.0007768, allocations: 97.12 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003749, allocations: 8 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.6226, allocations: 121.3 MB / 1.041 GB, free: 58.09 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001511/0.6242, allocations: 1.194 MB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.6253, allocations: 0.9958 MB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.6254, allocations: 0.5625 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.6254, allocations: 4.547 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.6255, allocations: 9.844 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.626, allocations: 106.5 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.6261, allocations: 75.72 kB / 1.043 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.6262, allocations: 15.69 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.894e-05/0.6263, allocations: 33.62 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.6264, allocations: 29.38 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.6264, allocations: 4.031 kB / 1.043 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.6266, allocations: 85.45 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.6266, allocations: 14.78 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.6267, allocations: 64.78 kB / 1.043 GB, free: 56.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.6269, allocations: 129.8 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6269, allocations: 2.406 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6269, allocations: 1.688 kB / 1.044 GB, free: 56.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.627, allocations: 0 / 1.044 GB, free: 56.22 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.0005489/0.6275, allocations: 409.8 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6276, allocations: 10.66 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.6276, allocations: 10.59 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.183e-05/0.6277, allocations: 173.2 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.6277, allocations: 3.375 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.6278, allocations: 5.688 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.6279, allocations: 80.08 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.628, allocations: 0.75 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.628, allocations: 3.531 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.628, allocations: 3.688 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.6281, allocations: 39.73 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.6287, allocations: 326.6 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.6288, allocations: 51.73 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.6289, allocations: 36.33 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.6289, allocations: 3.938 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.6291, allocations: 82.8 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.6291, allocations: 0 / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003737/0.6295, allocations: 147.1 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.6295, allocations: 59.23 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.6296, allocations: 124.6 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.6296, allocations: 26.45 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.41e-05/0.6297, allocations: 91.53 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.6297, allocations: 17.06 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.6297, allocations: 0.7812 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.6298, allocations: 325.7 kB / 1.045 GB, free: 54.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.6299, allocations: 29.83 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.6299, allocations: 55.53 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.6301, allocations: 78.38 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6301, allocations: 0 / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002231/0.6303, allocations: 123.2 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6304, allocations: 4.406 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6304, allocations: 2.969 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.6304, allocations: 0 / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.6305, allocations: 13.09 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.6305, allocations: 4.062 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.6306, allocations: 11.52 kB / 1.046 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.6306, allocations: 9.047 kB / 1.046 GB, free: 54.28 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 7.318e-05/0.6307, allocations: 130.5 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.6307, allocations: 3.906 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.6307, allocations: 10.45 kB / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6307, allocations: 0 / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6307, allocations: 0 / 1.046 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6307, allocations: 4 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.6311, allocations: 388.1 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6312, allocations: 3.188 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.863e-05/0.6312, allocations: 4.656 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6312, allocations: 1.844 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.6312, allocations: 3.938 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6312, allocations: 2.875 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6312, allocations: 3.938 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.6315, allocations: 219.5 kB / 1.047 GB, free: 53.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.6315, allocations: 86.19 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.6315, allocations: 0 / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.6316, allocations: 7.891 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.6317, allocations: 11.66 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.6317, allocations: 7.734 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.267e-05/0.6317, allocations: 96.84 kB / 1.047 GB, free: 53.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.42e-07/0.6317, allocations: 0 / 1.047 GB, free: 53.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002596/0.632, allocations: 44 kB / 1.047 GB, free: 53.43 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.0003001/0.6323, allocations: 175.1 kB / 1.047 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.6326, allocations: 71.59 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6326, allocations: 0.625 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.6327, allocations: 41.27 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.6329, allocations: 3.578 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.6333, allocations: 218.4 kB / 1.047 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.6334, allocations: 0.6888 MB / 1.048 GB, free: 52.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.6334, allocations: 10.91 kB / 1.048 GB, free: 52.42 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.6335, allocations: 10.66 kB / 1.048 GB, free: 52.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.6335, allocations: 0 / 1.048 GB, free: 52.41 MB / 0.698 GB Notification: Performance of Templates: time 0.00357/0.637, allocations: 1.36 MB / 1.049 GB, free: 52.29 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)