Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007431/0.007431, allocations: 99.23 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 198.9 kB / 16.68 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 62.97 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2431, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.0028/0.2459, allocations: 1.867 MB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2479, allocations: 1.573 MB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.248, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2482, allocations: 35.77 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.2484, allocations: 79.55 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.2488, allocations: 171.3 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.2491, allocations: 281.4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2492, allocations: 43.66 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.2493, allocations: 99.69 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2495, allocations: 107.7 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.2496, allocations: 20 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2497, allocations: 87.95 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.2498, allocations: 83.8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.25, allocations: 119.3 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.2503, allocations: 335.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2503, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.103e-06/0.2503, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2503, allocations: 0 / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007308/0.2511, allocations: 0.5579 MB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.2511, allocations: 12.03 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.2512, allocations: 54.73 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.2513, allocations: 36.55 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2516, allocations: 274.7 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2516, allocations: 8.375 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.2517, allocations: 23.94 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.2521, allocations: 240.9 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2521, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.2521, allocations: 12 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2521, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008333/0.253, allocations: 0.7451 MB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.2539, allocations: 0.633 MB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.2544, allocations: 314.5 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.2546, allocations: 113.3 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.2546, allocations: 24.23 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.2549, allocations: 175.5 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.255, allocations: 0 / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0006467/0.2556, allocations: 382.1 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.2557, allocations: 136.5 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.256, allocations: 312.9 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.256, allocations: 33.7 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.2561, allocations: 132.6 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.729e-05/0.2562, allocations: 110.4 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.2563, allocations: 65.69 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2564, allocations: 338.8 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2566, allocations: 83.95 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.2567, allocations: 132.3 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.2571, allocations: 208.7 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2571, allocations: 0 / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004244/0.2575, allocations: 289.5 kB / 1.098 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2575, allocations: 17.28 kB / 1.098 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2575, allocations: 4 kB / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2576, allocations: 0 / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2578, allocations: 67.91 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2578, allocations: 7.984 kB / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2579, allocations: 26.92 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.258, allocations: 12 kB / 1.098 GB, free: 7.297 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001482/0.2581, allocations: 165.7 kB / 1.098 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.2582, allocations: 39.55 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000645/0.2588, allocations: 376.7 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2589, allocations: 4 kB / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2589, allocations: 0 / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2589, allocations: 0 / 1.098 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.2592, allocations: 341.3 kB / 1.099 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2592, allocations: 4 kB / 1.099 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.2594, allocations: 59.95 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2594, allocations: 7.922 kB / 1.099 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.2594, allocations: 12 kB / 1.099 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2594, allocations: 4 kB / 1.099 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2594, allocations: 0 / 1.099 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.2599, allocations: 330 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.26, allocations: 144.6 kB / 1.099 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.2601, allocations: 15.94 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.2603, allocations: 23.97 kB / 1.099 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.2603, allocations: 19.97 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.2604, allocations: 23.98 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001944/0.2606, allocations: 236.4 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2606, allocations: 3.938 kB / 1.099 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002859/0.2609, allocations: 64 kB / 1.099 GB, free: 5.348 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001476/0.2623, allocations: 1.159 MB / 1.101 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003852/0.2627, allocations: 240.1 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2627, allocations: 0 / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.2629, allocations: 131.8 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2632, allocations: 38.95 kB / 1.101 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.2659, allocations: 2.519 MB / 1.103 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.2662, allocations: 0.7619 MB / 1.104 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.2665, allocations: 142.9 kB / 1.104 GB, free: 392 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.2667, allocations: 99.39 kB / 1.104 GB, free: 292 kB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.2667, allocations: 7.938 kB / 1.104 GB, free: 284 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2901, allocations: 6.019 MB / 1.11 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.639, allocations: 11.73 kB / 1.11 GB, free: 10.34 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches