Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.121/2.121, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.001588/0.001588, allocations: 175.5 kB / 393.1 MB, free: 4.074 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.379/1.379, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0007611/0.0007611, allocations: 94.39 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 15.2 kB / 0.9224 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5719/0.5723, allocations: 121.3 MB / 1.041 GB, free: 58.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006017/0.5784, allocations: 5.38 MB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1655/0.7439, allocations: 143.2 MB / 1.186 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.7458, allocations: 31.81 kB / 1.186 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.7473, allocations: 246.2 kB / 1.186 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.7504, allocations: 0.5634 MB / 1.187 GB, free: 12 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.7542, allocations: 1.152 MB / 1.188 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003731/0.7579, allocations: 2.152 MB / 1.19 GB, free: 9.125 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.7602, allocations: 1.026 MB / 1.191 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.7618, allocations: 0.5615 MB / 1.192 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.7633, allocations: 0.6082 MB / 1.192 GB, free: 7.129 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.7638, allocations: 44 kB / 1.192 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.7662, allocations: 0.744 MB / 1.193 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000757/0.767, allocations: 321.8 kB / 1.193 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.7685, allocations: 0.7262 MB / 1.194 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005116/0.7736, allocations: 2.475 MB / 1.196 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7737, allocations: 0.5156 kB / 1.196 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7737, allocations: 0 / 1.196 GB, free: 4.016 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001122/0.7738, allocations: 0 / 1.196 GB, free: 4.016 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005177/0.779, allocations: 1.787 MB / 1.198 GB, free: 2.387 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.779, allocations: 8.641 kB / 1.198 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.7813, allocations: 385.7 kB / 1.198 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.7843, allocations: 1.195 MB / 1.2 GB, free: 1.035 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.7844, allocations: 99.44 kB / 1.2 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/0.7848, allocations: 132.8 kB / 1.2 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/0.7886, allocations: 1.529 MB / 1.201 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.7887, allocations: 4 kB / 1.201 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.7889, allocations: 60 kB / 1.201 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/0.7889, allocations: 36 kB / 1.201 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004009/0.7929, allocations: 2.048 MB / 1.203 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008898/0.8018, allocations: 4.51 MB / 1.208 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.8048, allocations: 1.434 MB / 1.209 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.8059, allocations: 0.5321 MB / 1.21 GB, free: 8.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.8061, allocations: 61.17 kB / 1.21 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.8076, allocations: 0.796 MB / 1.211 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=136): time 5.08e-06/0.8076, allocations: 0 / 1.211 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of matching and sorting (n=136): time 0.005684/0.8133, allocations: 2.123 MB / 1.213 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.8135, allocations: 359.2 kB / 1.213 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.8153, allocations: 1.063 MB / 1.214 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.8155, allocations: 49.7 kB / 1.214 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.816, allocations: 0.6144 MB / 1.215 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.8164, allocations: 449.5 kB / 1.215 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.8165, allocations: 24 kB / 1.215 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8167, allocations: 357.9 kB / 1.216 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.8177, allocations: 490.3 kB / 1.216 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.8189, allocations: 0.6496 MB / 1.217 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.8211, allocations: 1.127 MB / 1.218 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.8211, allocations: 0 / 1.218 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00367/0.8247, allocations: 1.539 MB / 1.219 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.8248, allocations: 4 kB / 1.219 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.8248, allocations: 4 kB / 1.219 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.8259, allocations: 169.8 kB / 1.219 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.8271, allocations: 295.5 kB / 1.22 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003709/0.8308, allocations: 3.07 MB / 1.223 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.8323, allocations: 174.7 kB / 1.223 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.8325, allocations: 67.95 kB / 1.223 GB, free: 10.07 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008702/0.8334, allocations: 391.7 kB / 1.223 GB, free: 9.684 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.8337, allocations: 146.2 kB / 1.223 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004698/0.8384, allocations: 1.987 MB / 1.225 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8385, allocations: 16 kB / 1.225 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.8385, allocations: 0 / 1.225 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.8385, allocations: 7.969 kB / 1.225 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.8405, allocations: 1.467 MB / 1.227 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.8405, allocations: 0 / 1.227 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.8416, allocations: 287.6 kB / 1.227 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009575/0.8426, allocations: 161.5 kB / 1.227 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.8428, allocations: 43.97 kB / 1.227 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/0.8462, allocations: 3.115 MB / 1.23 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8462, allocations: 0 / 1.23 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/0.85, allocations: 1.635 MB / 1.232 GB, free: 456 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009118/0.8509, allocations: 458.6 kB / 1.232 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/0.8512, allocations: 32 kB / 1.232 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.8525, allocations: 143 kB / 1.233 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.8528, allocations: 113.8 kB / 1.233 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.8529, allocations: 63.95 kB / 1.233 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001373/0.8543, allocations: 0.7299 MB / 1.233 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8543, allocations: 0 / 1.233 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00158/0.8559, allocations: 478.9 kB / 1.234 GB, free: 14.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001753/0.8577, allocations: 0.718 MB / 1.235 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003165/0.8609, allocations: 1.514 MB / 1.236 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8609, allocations: 11.94 kB / 1.236 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.8626, allocations: 0.9537 MB / 1.237 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.865, allocations: 0.4923 MB / 1.237 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007883/0.8729, allocations: 3.85 MB / 1.241 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.874, allocations: 1.281 MB / 1.242 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002393/0.8764, allocations: 0.5034 MB / 1.243 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/0.877, allocations: 183.3 kB / 1.243 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of SimCode: time 1.332e-06/0.877, allocations: 0 / 1.243 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of Templates: time 0.04471/0.9217, allocations: 24.45 MB / 1.267 GB, free: 12.79 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)