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.004669/0.004669, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001031/0.00103, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.229/2.229, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 68.2 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2402, allocations: 140.4 MB / 1.087 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003031/0.2432, allocations: 1.866 MB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2454, allocations: 1.588 MB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.477e-05/0.2455, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.2457, allocations: 27.77 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2461, allocations: 83.55 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.2465, allocations: 175.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.2468, allocations: 277.4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2469, allocations: 45 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.2471, allocations: 95.77 kB / 1.092 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.2473, allocations: 111.7 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.2474, allocations: 20 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.2475, allocations: 83.95 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.2476, allocations: 83.81 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2478, allocations: 131.2 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.2482, allocations: 326.7 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2482, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2482, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2482, allocations: 0 / 1.092 GB, free: 13.04 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.0007618/0.249, allocations: 0.5729 MB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.249, allocations: 8.031 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.2491, allocations: 54.73 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.2492, allocations: 32.75 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.2495, allocations: 274.9 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2495, allocations: 16.38 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.2496, allocations: 19.94 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.25, allocations: 240.9 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.25, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.25, allocations: 8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.25, allocations: 8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.2508, allocations: 0.7412 MB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.2518, allocations: 0.6409 MB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.2523, allocations: 314.4 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.2524, allocations: 113.4 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.2525, allocations: 20.25 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.2528, allocations: 179.5 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 3.466e-06/0.2528, allocations: 4 kB / 1.095 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0006351/0.2535, allocations: 382.2 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.2535, allocations: 136.5 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.2538, allocations: 313 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.2539, allocations: 29.7 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.2539, allocations: 128.7 kB / 1.096 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.647e-05/0.254, allocations: 122.9 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.2541, allocations: 65.69 kB / 1.097 GB, free: 8.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2542, allocations: 342.8 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.2544, allocations: 83.95 kB / 1.097 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2546, allocations: 128.3 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2549, allocations: 212.6 kB / 1.097 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.2549, allocations: 0 / 1.097 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004191/0.2553, allocations: 285.7 kB / 1.098 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2553, allocations: 7.938 kB / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2553, allocations: 3.938 kB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.2553, allocations: 8 kB / 1.098 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.2556, allocations: 63.91 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2556, allocations: 0 / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.2557, allocations: 27.83 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.2558, allocations: 19.98 kB / 1.098 GB, free: 7.234 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.0001458/0.2559, allocations: 161.8 kB / 1.098 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.256, allocations: 35.69 kB / 1.098 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/0.2566, allocations: 376.8 kB / 1.098 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2566, allocations: 4 kB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2566, allocations: 0 / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2566, allocations: 7.984 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.2569, allocations: 341.3 kB / 1.099 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2569, allocations: 4 kB / 1.099 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.2571, allocations: 59.91 kB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2571, allocations: 3.938 kB / 1.099 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2571, allocations: 15.98 kB / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2571, allocations: 0 / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2571, allocations: 0 / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.2576, allocations: 334.1 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2578, allocations: 148.8 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.2578, allocations: 11.94 kB / 1.099 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.258, allocations: 23.97 kB / 1.099 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.2581, allocations: 23.97 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2581, allocations: 8 kB / 1.099 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001889/0.2583, allocations: 240.4 kB / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2583, allocations: 0 / 1.099 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002934/0.2586, allocations: 71.88 kB / 1.099 GB, free: 5.289 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.001451/0.26, allocations: 1.167 MB / 1.101 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.2604, allocations: 232.1 kB / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2604, allocations: 0 / 1.101 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.2606, allocations: 131.8 kB / 1.101 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.2609, allocations: 46.7 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.2635, allocations: 2.518 MB / 1.103 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2638, allocations: 0.7735 MB / 1.104 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003148/0.2641, allocations: 143 kB / 1.104 GB, free: 312 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.2643, allocations: 99.39 kB / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.2643, allocations: 0 / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.2892, allocations: 6.021 MB / 1.11 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.491, allocations: 11.8 kB / 1.11 GB, free: 10.26 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