Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_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.004392/0.004392, allocations: 97.23 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.001299/0.001299, allocations: 192.1 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.424/1.424, 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 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2709, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003274/0.2742, allocations: 1.871 MB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.2765, allocations: 1.592 MB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.2766, allocations: 0 / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.2768, allocations: 27.78 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.2771, allocations: 75.55 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.2776, allocations: 175.4 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.278, allocations: 281.3 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2781, allocations: 48.98 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.2782, allocations: 87.83 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.2785, allocations: 107.6 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.2785, allocations: 20 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.2787, allocations: 83.95 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2788, allocations: 87.75 kB / 1.225 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.279, allocations: 131.2 kB / 1.225 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.2794, allocations: 330.6 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2794, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2794, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2795, allocations: 0 / 1.225 GB, free: 9.395 MB / 0.9825 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.0008116/0.2803, allocations: 0.5787 MB / 1.226 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.2803, allocations: 12.03 kB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.875e-05/0.2804, allocations: 54.73 kB / 1.226 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.2805, allocations: 32.75 kB / 1.226 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.2809, allocations: 274.9 kB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2809, allocations: 16.38 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.2809, allocations: 19.94 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.2813, allocations: 244.8 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2814, allocations: 0 / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.2814, allocations: 8 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2814, allocations: 4 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009726/0.2824, allocations: 0.7529 MB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2834, allocations: 0.6293 MB / 1.227 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.284, allocations: 318.3 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.2842, allocations: 113.4 kB / 1.228 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.2842, allocations: 16.25 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/0.2846, allocations: 184.3 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.2846, allocations: 0 / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007093/0.2853, allocations: 384.8 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.2854, allocations: 136.5 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.2857, allocations: 309 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.2858, allocations: 29.7 kB / 1.229 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.2859, allocations: 140.7 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.286, allocations: 122.9 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2861, allocations: 65.69 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.2863, allocations: 338.8 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2864, allocations: 79.95 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2866, allocations: 123.4 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.287, allocations: 222.3 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.287, allocations: 0 / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004804/0.2875, allocations: 281.2 kB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.2875, allocations: 11.94 kB / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2875, allocations: 0 / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.2875, allocations: 0 / 1.23 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2878, allocations: 63.91 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2878, allocations: 7.938 kB / 1.23 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.288, allocations: 31.83 kB / 1.23 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.288, allocations: 11.98 kB / 1.23 GB, free: 3.566 MB / 0.9825 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.0001722/0.2882, allocations: 165.8 kB / 1.231 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.2882, allocations: 27.8 kB / 1.231 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007268/0.289, allocations: 392.8 kB / 1.231 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.289, allocations: 7.938 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.289, allocations: 0 / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.289, allocations: 3.984 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.2894, allocations: 337.4 kB / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2894, allocations: 3.984 kB / 1.231 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.2896, allocations: 59.91 kB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.2896, allocations: 7.938 kB / 1.231 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.2896, allocations: 11.98 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2896, allocations: 4 kB / 1.231 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2896, allocations: 0 / 1.231 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.2901, allocations: 329.8 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2903, allocations: 140.8 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.2903, allocations: 11.94 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2905, allocations: 23.97 kB / 1.232 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.2906, allocations: 27.97 kB / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2906, allocations: 12 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002268/0.2909, allocations: 236.4 kB / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2909, allocations: 0 / 1.232 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003122/0.2912, allocations: 71.88 kB / 1.232 GB, free: 1.629 MB / 0.9825 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.002124/0.2933, allocations: 1.171 MB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.2938, allocations: 231.6 kB / 1.234 GB, free: 364 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.2938, allocations: 4 kB / 1.234 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.294, allocations: 123.9 kB / 1.234 GB, free: 236 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2943, allocations: 40.36 kB / 1.234 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.2974, allocations: 2.534 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.2978, allocations: 0.7619 MB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003394/0.2981, allocations: 147 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.2983, allocations: 99.39 kB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.2983, allocations: 0 / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.3288, allocations: 6.012 MB / 1.243 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.255, allocations: 15.8 kB / 1.243 GB, free: 6.66 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches