Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7363/0.7363, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.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.001035/0.001035, allocations: 175.3 kB / 192 MB, free: 6.734 MB / 154.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.319/1.319, allocations: 225.7 MB / 450.4 MB, free: 5.004 MB / 330.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.0007269/0.0007271, allocations: 103.5 kB / 0.5211 GB, free: 1.656 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 284.1 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004293, allocations: 15.5 kB / 0.6948 GB, free: 59.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1429, allocations: 82.46 MB / 0.7753 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004308/0.1472, allocations: 3.602 MB / 0.7788 GB, free: 10.76 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4118/0.5591, allocations: 140.3 MB / 0.9158 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.5598, allocations: 20.89 kB / 0.9159 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005781/0.5604, allocations: 133.3 kB / 0.916 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.562, allocations: 404.2 kB / 0.9164 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.5639, allocations: 0.6919 MB / 0.917 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.5654, allocations: 1.126 MB / 0.9181 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008897/0.5663, allocations: 0.534 MB / 0.9187 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.5669, allocations: 308.7 kB / 0.919 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005974/0.5675, allocations: 345.3 kB / 0.9193 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.5677, allocations: 22.94 kB / 0.9193 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5692, allocations: 0.7216 MB / 0.92 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.5695, allocations: 170.7 kB / 0.9202 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005306/0.57, allocations: 404.1 kB / 0.9206 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.572, allocations: 1.521 MB / 0.9221 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.572, allocations: 0 / 0.9221 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.313e-06/0.572, allocations: 0 / 0.9221 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.186e-05/0.5721, allocations: 1.688 kB / 0.9221 GB, free: 11.2 MB / 0.5573 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.002479/0.5746, allocations: 1.16 MB / 0.9232 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5746, allocations: 8.75 kB / 0.9232 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.5758, allocations: 210.5 kB / 0.9234 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.5769, allocations: 0.6965 MB / 0.9241 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.577, allocations: 51.66 kB / 0.9241 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5771, allocations: 65.81 kB / 0.9242 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.5788, allocations: 0.8453 MB / 0.925 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.5788, allocations: 0 / 0.925 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.5789, allocations: 31.62 kB / 0.925 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.5789, allocations: 16.53 kB / 0.9251 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.5809, allocations: 1.087 MB / 0.9261 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.5847, allocations: 2.399 MB / 0.9285 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.5862, allocations: 0.7516 MB / 0.9292 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/0.5868, allocations: 306.5 kB / 0.9295 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.523e-05/0.5869, allocations: 33.67 kB / 0.9295 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/0.588, allocations: 472.4 kB / 0.93 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=73): time 4.658e-06/0.588, allocations: 0.6875 kB / 0.93 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73): time 0.003369/0.5914, allocations: 1.189 MB / 0.9311 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.5915, allocations: 193.5 kB / 0.9313 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.5925, allocations: 0.5978 MB / 0.9319 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.09e-05/0.5926, allocations: 36.61 kB / 0.9319 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.5929, allocations: 351.4 kB / 0.9323 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5932, allocations: 245.8 kB / 0.9325 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.5932, allocations: 12.66 kB / 0.9325 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5934, allocations: 384.4 kB / 0.9329 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.594, allocations: 267.8 kB / 0.9331 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.5946, allocations: 371.9 kB / 0.9335 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.5959, allocations: 0.6234 MB / 0.9341 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5959, allocations: 6.672 kB / 0.9341 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002143/0.598, allocations: 0.8547 MB / 0.9349 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5981, allocations: 4.906 kB / 0.935 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5981, allocations: 1.344 kB / 0.935 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.5987, allocations: 88.08 kB / 0.935 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.5994, allocations: 160 kB / 0.9352 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.6013, allocations: 1.534 MB / 0.9367 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.6021, allocations: 112.6 kB / 0.9368 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.6022, allocations: 35.81 kB / 0.9368 GB, free: 5.164 MB / 0.5573 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.0004124/0.6027, allocations: 250.5 kB / 0.9371 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6028, allocations: 74.81 kB / 0.9371 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.6054, allocations: 1.125 MB / 0.9382 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6054, allocations: 9.219 kB / 0.9382 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6055, allocations: 0 / 0.9382 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.6055, allocations: 5.844 kB / 0.9383 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.6065, allocations: 0.8344 MB / 0.9391 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6066, allocations: 0 / 0.9391 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006153/0.6072, allocations: 163 kB / 0.9392 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.6077, allocations: 95.05 kB / 0.9393 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.6077, allocations: 22.3 kB / 0.9393 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.6094, allocations: 1.556 MB / 0.9409 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6094, allocations: 4.062 kB / 0.9409 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.6113, allocations: 0.9169 MB / 0.9418 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.6117, allocations: 282.9 kB / 0.942 GB, free: 2.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6118, allocations: 18.16 kB / 0.942 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.6124, allocations: 77.81 kB / 0.9421 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.6125, allocations: 74.02 kB / 0.9422 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.395e-05/0.6126, allocations: 28.67 kB / 0.9422 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005029/0.6131, allocations: 427.6 kB / 0.9426 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6131, allocations: 0 / 0.9426 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000852/0.614, allocations: 294.8 kB / 0.9429 GB, free: 2.062 MB / 0.5573 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.001405/0.6154, allocations: 0.7062 MB / 0.9436 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.6171, allocations: 0.8317 MB / 0.9444 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6171, allocations: 2.688 kB / 0.9444 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009009/0.618, allocations: 0.513 MB / 0.9449 GB, free: 1.273 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.6191, allocations: 258 kB / 0.9452 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.623, allocations: 2.076 MB / 0.9472 GB, free: 44 kB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.6236, allocations: 0.9965 MB / 0.9482 GB, free: 15.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009091/0.6245, allocations: 254 kB / 0.9484 GB, free: 15.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.6247, allocations: 106.4 kB / 0.9485 GB, free: 15.07 MB / 0.573 GB Notification: Performance of SimCode: time 4.31e-07/0.6247, allocations: 0 / 0.9485 GB, free: 15.07 MB / 0.573 GB Notification: Performance of Templates: time 0.02237/0.6471, allocations: 13.86 MB / 0.962 GB, free: 8.133 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)