Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.637/1.637, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001102/0.001102, allocations: 179.5 kB / 393.1 MB, free: 4.09 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.345/1.345, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0007877/0.0007877, allocations: 100.7 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/0.5238, allocations: 121.3 MB / 1.041 GB, free: 58.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004287/0.5282, allocations: 4.198 MB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1374/0.6656, allocations: 140.6 MB / 1.182 GB, free: 392 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000783/0.6665, allocations: 23.81 kB / 1.182 GB, free: 368 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.6672, allocations: 275.3 kB / 1.183 GB, free: 176 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.6687, allocations: 416.7 kB / 1.183 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.6708, allocations: 0.7148 MB / 1.184 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.6723, allocations: 1.257 MB / 1.185 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009674/0.6732, allocations: 0.7696 MB / 1.186 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.6737, allocations: 340.4 kB / 1.186 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.6742, allocations: 379.4 kB / 1.186 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.6743, allocations: 24 kB / 1.186 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008001/0.6751, allocations: 342.8 kB / 1.187 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.6753, allocations: 187.2 kB / 1.187 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.6757, allocations: 495.2 kB / 1.187 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.6774, allocations: 1.609 MB / 1.189 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6774, allocations: 0.7031 kB / 1.189 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6774, allocations: 0 / 1.189 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.6775, allocations: 3.938 kB / 1.189 GB, free: 10.82 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002113/0.6796, allocations: 1.325 MB / 1.19 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6796, allocations: 8.031 kB / 1.19 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/0.6805, allocations: 218.5 kB / 1.19 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.6817, allocations: 0.8547 MB / 1.191 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.6818, allocations: 74 kB / 1.191 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6819, allocations: 88.89 kB / 1.191 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.6836, allocations: 0.9694 MB / 1.192 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.6836, allocations: 0 / 1.192 GB, free: 7.652 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.6837, allocations: 36.8 kB / 1.192 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.6837, allocations: 24 kB / 1.192 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.6856, allocations: 1.126 MB / 1.193 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.6898, allocations: 2.73 MB / 1.196 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.6911, allocations: 0.7051 MB / 1.197 GB, free: 3.863 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.6916, allocations: 270.8 kB / 1.197 GB, free: 3.629 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.6917, allocations: 34.84 kB / 1.197 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007901/0.6924, allocations: 420.6 kB / 1.198 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=69): time 2.043e-06/0.6925, allocations: 0 / 1.198 GB, free: 3.258 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69): time 0.00287/0.6953, allocations: 1.085 MB / 1.199 GB, free: 2.281 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.6955, allocations: 189.9 kB / 1.199 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.6965, allocations: 0.7543 MB / 1.2 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/0.6966, allocations: 41.7 kB / 1.2 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.6969, allocations: 485.6 kB / 1.2 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.6971, allocations: 232.3 kB / 1.2 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.6972, allocations: 12 kB / 1.2 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6973, allocations: 334.2 kB / 1.201 GB, free: 384 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/0.6978, allocations: 239.7 kB / 1.201 GB, free: 180 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.6984, allocations: 318 kB / 1.201 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.6994, allocations: 0.5462 MB / 1.202 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6995, allocations: 3.938 kB / 1.202 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001725/0.7012, allocations: 0.7752 MB / 1.202 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7012, allocations: 4 kB / 1.202 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.7012, allocations: 4.703 kB / 1.202 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.7018, allocations: 86.94 kB / 1.202 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.7025, allocations: 150.2 kB / 1.203 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.7045, allocations: 1.535 MB / 1.204 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.7051, allocations: 82.34 kB / 1.204 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.7052, allocations: 34.84 kB / 1.204 GB, free: 12.77 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$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 (80): * Single equations (assignments): 79 * 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.0004897/0.7057, allocations: 282.8 kB / 1.205 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.7058, allocations: 95.34 kB / 1.205 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.708, allocations: 0.9755 MB / 1.206 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.708, allocations: 8 kB / 1.206 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.708, allocations: 96 / 1.206 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.7081, allocations: 12.62 kB / 1.206 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.7092, allocations: 0.9407 MB / 1.206 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7092, allocations: 0 / 1.206 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/0.7098, allocations: 142.6 kB / 1.207 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.7103, allocations: 79.31 kB / 1.207 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.131e-05/0.7104, allocations: 28.36 kB / 1.207 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.7121, allocations: 1.541 MB / 1.208 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7121, allocations: 4 kB / 1.208 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.7138, allocations: 0.8492 MB / 1.209 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.7142, allocations: 280.5 kB / 1.209 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.7143, allocations: 20.59 kB / 1.209 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.7149, allocations: 67.98 kB / 1.209 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.7151, allocations: 58.23 kB / 1.209 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.7151, allocations: 28.69 kB / 1.209 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008267/0.716, allocations: 0.5175 MB / 1.21 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.454e-06/0.716, allocations: 0 / 1.21 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00107/0.7171, allocations: 321.4 kB / 1.21 GB, free: 7.031 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.001667/0.7187, allocations: 0.6649 MB / 1.211 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.7204, allocations: 0.746 MB / 1.212 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7204, allocations: 0 / 1.212 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.7213, allocations: 490.5 kB / 1.212 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.7229, allocations: 404.4 kB / 1.213 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.7271, allocations: 2.458 MB / 1.215 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.7277, allocations: 1.07 MB / 1.216 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0009532/0.7286, allocations: 279 kB / 1.216 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.7289, allocations: 107.4 kB / 1.216 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.7289, allocations: 0 / 1.216 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of Templates: time 0.02596/0.7549, allocations: 15.19 MB / 1.231 GB, free: 2.082 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)