Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.0009697/0.0009696, allocations: 180.5 kB / 393.1 MB, free: 4.078 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.387/1.387, allocations: 225.7 MB / 0.6743 GB, free: 12.53 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.0007711/0.000771, allocations: 96.58 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 12 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5525, allocations: 121.3 MB / 1.041 GB, free: 58.24 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.003908/0.5565, allocations: 3.604 MB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1508/0.7073, allocations: 140.3 MB / 1.181 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007588/0.7081, allocations: 15.94 kB / 1.181 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.7086, allocations: 133 kB / 1.182 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.71, allocations: 411.6 kB / 1.182 GB, free: 488 kB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.7118, allocations: 0.6917 MB / 1.183 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.713, allocations: 1.127 MB / 1.184 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007655/0.7138, allocations: 0.5213 MB / 1.184 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.7144, allocations: 311.1 kB / 1.185 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.7149, allocations: 342.6 kB / 1.185 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.714e-05/0.715, allocations: 24 kB / 1.185 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.7166, allocations: 0.7198 MB / 1.186 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.7168, allocations: 171.6 kB / 1.186 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004077/0.7172, allocations: 408.8 kB / 1.186 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.7195, allocations: 1.521 MB / 1.188 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7195, allocations: 0 / 1.188 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7195, allocations: 0 / 1.188 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.7195, allocations: 4 kB / 1.188 GB, free: 11.77 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002468/0.722, allocations: 1.161 MB / 1.189 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.7221, allocations: 8.031 kB / 1.189 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.7232, allocations: 208.8 kB / 1.189 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.7243, allocations: 0.6953 MB / 1.19 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.287e-05/0.7243, allocations: 58 kB / 1.19 GB, free: 9.832 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.7244, allocations: 64 kB / 1.19 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.7261, allocations: 0.8415 MB / 1.191 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.7262, allocations: 0.6094 kB / 1.191 GB, free: 9.039 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.502e-05/0.7263, allocations: 32 kB / 1.191 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.7263, allocations: 16 kB / 1.191 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.7284, allocations: 1.094 MB / 1.192 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.7325, allocations: 2.41 MB / 1.194 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.734, allocations: 0.7432 MB / 1.195 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006844/0.7347, allocations: 315.8 kB / 1.195 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.385e-05/0.7348, allocations: 34.28 kB / 1.195 GB, free: 5.184 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.7358, allocations: 468 kB / 1.196 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=73): time 3.817e-06/0.7358, allocations: 3.984 kB / 1.196 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.003472/0.7393, allocations: 1.187 MB / 1.197 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/0.7394, allocations: 193.9 kB / 1.197 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.7403, allocations: 0.5894 MB / 1.197 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.7404, allocations: 41.7 kB / 1.198 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.7407, allocations: 353.8 kB / 1.198 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.7409, allocations: 245.2 kB / 1.198 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.7409, allocations: 16 kB / 1.198 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.7411, allocations: 382.2 kB / 1.198 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006341/0.7417, allocations: 267.3 kB / 1.199 GB, free: 1.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.7425, allocations: 370.2 kB / 1.199 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.7438, allocations: 0.6324 MB / 1.2 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7438, allocations: 0 / 1.2 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002128/0.746, allocations: 0.8553 MB / 1.201 GB, free: 148 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.746, allocations: 4.656 kB / 1.201 GB, free: 144 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.746, allocations: 0 / 1.201 GB, free: 144 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.7466, allocations: 87.16 kB / 1.201 GB, free: 76 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009098/0.7476, allocations: 172.4 kB / 1.201 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.7496, allocations: 1.533 MB / 1.202 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008422/0.7504, allocations: 107.9 kB / 1.202 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.023e-05/0.7505, allocations: 39.41 kB / 1.202 GB, free: 14.24 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004732/0.751, allocations: 247 kB / 1.203 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.7511, allocations: 79.72 kB / 1.203 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.7539, allocations: 1.11 MB / 1.204 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7539, allocations: 8 kB / 1.204 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7539, allocations: 0 / 1.204 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.754, allocations: 8.453 kB / 1.204 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.7551, allocations: 0.8474 MB / 1.205 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7551, allocations: 0.7031 kB / 1.205 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.7557, allocations: 156.3 kB / 1.205 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005279/0.7563, allocations: 95.34 kB / 1.205 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.7564, allocations: 20.88 kB / 1.205 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.7582, allocations: 1.557 MB / 1.206 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7582, allocations: 3.984 kB / 1.206 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.7603, allocations: 0.9185 MB / 1.207 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.7607, allocations: 275.1 kB / 1.208 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.7609, allocations: 16.8 kB / 1.208 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.7615, allocations: 78.14 kB / 1.208 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.7616, allocations: 68.8 kB / 1.208 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.7617, allocations: 33.77 kB / 1.208 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006495/0.7624, allocations: 426.9 kB / 1.208 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7624, allocations: 0 / 1.208 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009306/0.7633, allocations: 295.2 kB / 1.208 GB, free: 8.543 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/0.7647, allocations: 0.6894 MB / 1.209 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.7669, allocations: 0.8275 MB / 1.21 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7669, allocations: 4.25 kB / 1.21 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.7679, allocations: 0.5159 MB / 1.21 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.7692, allocations: 275.2 kB / 1.211 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.7732, allocations: 2.063 MB / 1.213 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005956/0.7738, allocations: 0.9967 MB / 1.214 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001078/0.7749, allocations: 270.8 kB / 1.214 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.7752, allocations: 103.4 kB / 1.214 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.7752, allocations: 0 / 1.214 GB, free: 3.465 MB / 0.7761 GB Notification: Performance of Templates: time 0.02418/0.7994, allocations: 13.83 MB / 1.228 GB, free: 5.785 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)