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.001192/0.001192, 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.001218/0.001218, allocations: 198.3 kB / 16.53 MB, free: 6.668 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.064/2.064, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.05 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4944, allocations: 140.4 MB / 0.9497 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002477/0.497, allocations: 1.864 MB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.4985, allocations: 1.58 MB / 0.9531 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.4985, allocations: 1.438 kB / 0.9531 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.4987, allocations: 24.44 kB / 0.9531 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.4989, allocations: 82.23 kB / 0.9532 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4993, allocations: 166.4 kB / 0.9534 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.4995, allocations: 282.9 kB / 0.9536 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.4996, allocations: 33.69 kB / 0.9537 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.4997, allocations: 93.78 kB / 0.9537 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.4998, allocations: 111.6 kB / 0.9538 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.4999, allocations: 23.81 kB / 0.9539 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.5, allocations: 83.38 kB / 0.954 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.5001, allocations: 90.55 kB / 0.954 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.282e-05/0.5002, allocations: 119.5 kB / 0.9542 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.5005, allocations: 320.4 kB / 0.9545 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.5005, allocations: 4.938 kB / 0.9545 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5005, allocations: 0 / 0.9545 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.5005, allocations: 0 / 0.9545 GB, free: 5.715 MB / 0.7169 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.0005618/0.5011, allocations: 0.5632 MB / 0.955 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.5011, allocations: 13.56 kB / 0.955 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.5012, allocations: 53.89 kB / 0.9551 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.5013, allocations: 36.39 kB / 0.9551 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.5015, allocations: 279 kB / 0.9554 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5015, allocations: 11.69 kB / 0.9554 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5016, allocations: 18.47 kB / 0.9554 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.5019, allocations: 240.8 kB / 0.9556 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.5019, allocations: 9.188 kB / 0.9556 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.5019, allocations: 6.375 kB / 0.9556 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5019, allocations: 3.688 kB / 0.9557 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.5026, allocations: 0.7491 MB / 0.9564 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007679/0.5034, allocations: 0.6314 MB / 0.957 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.5038, allocations: 304.5 kB / 0.9573 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.5039, allocations: 111 kB / 0.9574 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.504, allocations: 17.28 kB / 0.9574 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.5043, allocations: 190.9 kB / 0.9576 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.5043, allocations: 0 / 0.9576 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0005714/0.5048, allocations: 380.6 kB / 0.958 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.5049, allocations: 135.7 kB / 0.9581 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.5051, allocations: 310.3 kB / 0.9584 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.5051, allocations: 35.3 kB / 0.9584 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.5052, allocations: 135 kB / 0.9585 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.5053, allocations: 118.1 kB / 0.9587 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.5053, allocations: 65 kB / 0.9587 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.5054, allocations: 343.4 kB / 0.959 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.5055, allocations: 79.83 kB / 0.9591 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.5057, allocations: 133.8 kB / 0.9593 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.506, allocations: 208.1 kB / 0.9595 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.506, allocations: 0 / 0.9595 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003702/0.5063, allocations: 283.1 kB / 0.9597 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.5064, allocations: 11.38 kB / 0.9597 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5064, allocations: 4 kB / 0.9597 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5064, allocations: 1.391 kB / 0.9597 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.5066, allocations: 68.64 kB / 0.9598 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5066, allocations: 1.312 kB / 0.9598 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.5068, allocations: 28.7 kB / 0.9598 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.5068, allocations: 12.5 kB / 0.9598 GB, free: 1.832 MB / 0.7169 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.0001093/0.5069, allocations: 169.3 kB / 0.96 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.507, allocations: 29.25 kB / 0.96 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005436/0.5075, allocations: 386.8 kB / 0.9604 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5075, allocations: 3.438 kB / 0.9604 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5075, allocations: 0 / 0.9604 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5075, allocations: 1.469 kB / 0.9604 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.5078, allocations: 352.4 kB / 0.9607 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5078, allocations: 0 / 0.9607 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.5079, allocations: 58.38 kB / 0.9608 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5079, allocations: 5.281 kB / 0.9608 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.508, allocations: 13 kB / 0.9608 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.508, allocations: 1.125 kB / 0.9608 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.508, allocations: 3.984 kB / 0.9608 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.5084, allocations: 319.6 kB / 0.9611 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.5085, allocations: 146.9 kB / 0.9613 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.5085, allocations: 14.45 kB / 0.9613 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.5087, allocations: 26.19 kB / 0.9613 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.5087, allocations: 28.41 kB / 0.9613 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.5088, allocations: 19.08 kB / 0.9613 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001521/0.5089, allocations: 236.9 kB / 0.9616 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5089, allocations: 0 / 0.9616 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002767/0.5092, allocations: 74.09 kB / 0.9616 GB, free: 0.5586 MB / 0.7169 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.5106, allocations: 1.161 MB / 0.9628 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005132/0.5111, allocations: 307.5 kB / 0.9631 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5111, allocations: 1.312 kB / 0.9631 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.5113, allocations: 130.5 kB / 0.9632 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.5116, allocations: 41.2 kB / 0.9632 GB, free: 15.55 MB / 0.7325 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.002705/0.5143, allocations: 2.526 MB / 0.9657 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5146, allocations: 0.7674 MB / 0.9665 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003207/0.5149, allocations: 144.1 kB / 0.9666 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5151, allocations: 96.45 kB / 0.9667 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5151, allocations: 1.5 kB / 0.9667 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4114/0.9265, allocations: 5.974 MB / 0.9725 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/7.56, allocations: 9.797 kB / 0.9725 GB, free: 9.859 MB / 0.7325 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