Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_10_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.001234/0.001234, allocations: 108 kB / 15.61 MB, free: 148 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.001204/0.001204, allocations: 195 kB / 16.53 MB, free: 6.699 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.35/2.35, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.501, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003105/0.5041, allocations: 1.87 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.5061, allocations: 1.584 MB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.074e-05/0.5062, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.5064, allocations: 23.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.5067, allocations: 83.53 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.5071, allocations: 167.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.5074, allocations: 281.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.5075, allocations: 39.33 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.5076, allocations: 95.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.5078, allocations: 111.7 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.5079, allocations: 20 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.5081, allocations: 91.95 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.5082, allocations: 83.81 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.5083, allocations: 131.2 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.5087, allocations: 319 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5087, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5087, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.557e-06/0.5087, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 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.0007081/0.5094, allocations: 0.554 MB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5094, allocations: 8.031 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5095, allocations: 62.67 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.5096, allocations: 32.56 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.5099, allocations: 282.6 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.5099, allocations: 12.38 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.51, allocations: 19.94 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.5103, allocations: 244.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5104, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.5104, allocations: 12 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.5104, allocations: 4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.5112, allocations: 0.749 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.5121, allocations: 0.6331 MB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.5125, allocations: 309.8 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.5127, allocations: 109.4 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.5128, allocations: 20.25 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.5131, allocations: 172.8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 2.736e-06/0.5131, allocations: 7.984 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0006068/0.5137, allocations: 392.6 kB / 1.026 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.5138, allocations: 132.5 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.514, allocations: 305 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.514, allocations: 33.7 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.5141, allocations: 136.6 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.5142, allocations: 118.3 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.5143, allocations: 65.69 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.5144, allocations: 338.8 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5145, allocations: 79.95 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.5147, allocations: 131.2 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.515, allocations: 214.3 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.515, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004125/0.5154, allocations: 281.1 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.5155, allocations: 11.94 kB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5155, allocations: 0 / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.5155, allocations: 4 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5157, allocations: 63.91 kB / 1.028 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5157, allocations: 4 kB / 1.028 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.5159, allocations: 27.73 kB / 1.028 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5159, allocations: 15.94 kB / 1.028 GB, free: 7.812 MB / 0.7794 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.0001371/0.516, allocations: 163.3 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.5161, allocations: 31.64 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006134/0.5167, allocations: 388.9 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5167, allocations: 4 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5167, allocations: 0 / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5168, allocations: 0 / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.517, allocations: 349.2 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.517, allocations: 0 / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.5172, allocations: 55.91 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.5172, allocations: 7.938 kB / 1.029 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.5172, allocations: 8 kB / 1.029 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5173, allocations: 4 kB / 1.029 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5173, allocations: 0 / 1.029 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004289/0.5177, allocations: 329.5 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.5178, allocations: 140.7 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.5179, allocations: 11.94 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.518, allocations: 31.91 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5181, allocations: 23.97 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.5181, allocations: 15.98 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000183/0.5183, allocations: 240.4 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5183, allocations: 0 / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002805/0.5186, allocations: 71.84 kB / 1.029 GB, free: 5.875 MB / 0.7794 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.001403/0.52, allocations: 1.161 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.5205, allocations: 303.6 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5205, allocations: 0 / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.5207, allocations: 131.8 kB / 1.031 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.521, allocations: 49.42 kB / 1.031 GB, free: 4.359 MB / 0.7794 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.002544/0.5235, allocations: 2.531 MB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.5238, allocations: 0.7616 MB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003115/0.5241, allocations: 143 kB / 1.034 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.5242, allocations: 103.4 kB / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of SimCode: time 1.463e-06/0.5242, allocations: 0 / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4921/1.016, allocations: 5.962 MB / 1.04 GB, free: 10.91 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/7.593, allocations: 8.969 kB / 1.04 GB, free: 10.91 MB / 0.795 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches