Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.429/2.429, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 62.05 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2464, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002827/0.2492, allocations: 1.872 MB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.251, allocations: 1.581 MB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.2511, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2513, allocations: 23.78 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.2515, allocations: 79.55 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.2519, allocations: 173.1 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.2521, allocations: 285.3 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2522, allocations: 37.31 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.2523, allocations: 95.81 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2525, allocations: 107.6 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.2526, allocations: 20 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.2527, allocations: 87.95 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.2528, allocations: 87.73 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.2529, allocations: 123.3 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.2532, allocations: 319.1 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2532, allocations: 3.984 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2532, allocations: 4 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2532, allocations: 0 / 1.068 GB, free: 9.621 MB / 0.8262 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.0006408/0.2539, allocations: 0.55 MB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2539, allocations: 12.03 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.254, allocations: 50.73 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.2541, allocations: 44.48 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.2544, allocations: 270.7 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.2544, allocations: 12.38 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.2544, allocations: 23.94 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.2548, allocations: 244.8 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2548, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.2548, allocations: 8 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2548, allocations: 4 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007421/0.2556, allocations: 0.749 MB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.2564, allocations: 0.6408 MB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.2569, allocations: 318.3 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.257, allocations: 117.3 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.2571, allocations: 20.25 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.2574, allocations: 176 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.2574, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0005872/0.258, allocations: 385.5 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.258, allocations: 132.5 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.2583, allocations: 305 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2583, allocations: 41.7 kB / 1.072 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.2584, allocations: 128.7 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/0.2585, allocations: 118.3 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.2586, allocations: 69.55 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.2587, allocations: 342.8 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.2588, allocations: 79.95 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2589, allocations: 119.4 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.2592, allocations: 218.3 kB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2593, allocations: 3.984 kB / 1.073 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000387/0.2596, allocations: 281 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2597, allocations: 11.94 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2597, allocations: 4 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2597, allocations: 0 / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2599, allocations: 63.91 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.2599, allocations: 4 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.26, allocations: 25.52 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.2601, allocations: 16 kB / 1.074 GB, free: 3.828 MB / 0.8262 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.0001288/0.2602, allocations: 169.7 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.2603, allocations: 35.56 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.2609, allocations: 384.8 kB / 1.074 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2609, allocations: 8.031 kB / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2609, allocations: 0 / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2609, allocations: 4 kB / 1.074 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.2612, allocations: 345.2 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2612, allocations: 0 / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2613, allocations: 59.91 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2613, allocations: 3.938 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.2614, allocations: 11.98 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-06/0.2614, allocations: 0 / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2614, allocations: 4 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.2618, allocations: 325.6 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2619, allocations: 148.7 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.262, allocations: 7.938 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.2621, allocations: 23.98 kB / 1.075 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.2622, allocations: 27.89 kB / 1.075 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.2622, allocations: 20 kB / 1.075 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001754/0.2624, allocations: 236.4 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2624, allocations: 0 / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002706/0.2627, allocations: 68 kB / 1.076 GB, free: 1.879 MB / 0.8262 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.001355/0.2641, allocations: 1.16 MB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.2645, allocations: 307.6 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2645, allocations: 0 / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2647, allocations: 127.8 kB / 1.077 GB, free: 424 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.265, allocations: 49.84 kB / 1.077 GB, free: 376 kB / 0.8262 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.2675, allocations: 2.519 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.2677, allocations: 0.758 MB / 1.08 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000292/0.268, allocations: 150.9 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.2682, allocations: 99.39 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2682, allocations: 0 / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5237/0.7919, allocations: 5.976 MB / 1.086 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/7.433, allocations: 10.41 kB / 1.086 GB, free: 6.926 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches