Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001742/0.001742, allocations: 108 kB / 15.61 MB, free: 152 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.002261/0.002261, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.57/2.57, allocations: 390.3 MB / 0.6647 GB, free: 488 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 59.91 kB / 0.8126 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8054, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003033/0.8085, allocations: 1.815 MB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.8088, allocations: 113.8 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.8089, allocations: 1.312 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.8091, allocations: 25.11 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.8092, allocations: 45.69 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.8093, allocations: 34.64 kB / 0.9517 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.8095, allocations: 174.5 kB / 0.9519 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.8097, allocations: 33.5 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.8098, allocations: 52.97 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.8099, allocations: 68.22 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.8099, allocations: 18.66 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.195e-05/0.81, allocations: 9.531 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.81, allocations: 22.14 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.8101, allocations: 68.12 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.8102, allocations: 123 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8103, allocations: 1.344 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8103, allocations: 0 / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8103, allocations: 0 / 0.9522 GB, free: 7.207 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007218/0.811, allocations: 452.9 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.8111, allocations: 9.281 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.8111, allocations: 40.95 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.8112, allocations: 15.72 kB / 0.9527 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.8114, allocations: 204.5 kB / 0.9529 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.8114, allocations: 11.81 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.8114, allocations: 4.812 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.8117, allocations: 121 kB / 0.9531 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8117, allocations: 3.938 kB / 0.9531 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.8117, allocations: 5.25 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8117, allocations: 2.219 kB / 0.9531 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.812, allocations: 90.92 kB / 0.9532 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.8126, allocations: 478.2 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.813, allocations: 130.6 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.8132, allocations: 58.91 kB / 0.9538 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.8132, allocations: 5.484 kB / 0.9538 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.8132, allocations: 35.81 kB / 0.9538 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.8132, allocations: 0 / 0.9538 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005516/0.8138, allocations: 184.8 kB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.8138, allocations: 79.45 kB / 0.9541 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.814, allocations: 171.8 kB / 0.9543 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.814, allocations: 30.84 kB / 0.9543 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.8141, allocations: 105.3 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.8141, allocations: 30.77 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.8141, allocations: 24 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.8142, allocations: 330.5 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.8143, allocations: 46.28 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.8145, allocations: 59.47 kB / 0.9549 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.8148, allocations: 103.9 kB / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8148, allocations: 0 / 0.9549 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003458/0.8151, allocations: 145.4 kB / 0.9551 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8152, allocations: 5.75 kB / 0.9551 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.8152, allocations: 1.094 kB / 0.9551 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8152, allocations: 1.375 kB / 0.9551 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.8153, allocations: 25.39 kB / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8154, allocations: 1.438 kB / 0.9551 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.8155, allocations: 22.02 kB / 0.9551 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.8155, allocations: 5.719 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.324e-05/0.8156, allocations: 119.2 kB / 0.9553 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.8156, allocations: 15 kB / 0.9553 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.8161, allocations: 161.2 kB / 0.9554 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.8161, allocations: 9.344 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/0.8161, allocations: 1.609 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.8161, allocations: 7.922 kB / 0.9554 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.8164, allocations: 219.5 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8164, allocations: 1.25 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.8165, allocations: 21.08 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8165, allocations: 0 / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.8165, allocations: 5.25 kB / 0.9557 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.8166, allocations: 1.469 kB / 0.9557 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8166, allocations: 3.984 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.8169, allocations: 313.1 kB / 0.956 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.817, allocations: 88.33 kB / 0.9561 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.817, allocations: 5.562 kB / 0.9561 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.8172, allocations: 10.36 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.8172, allocations: 14.58 kB / 0.9561 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.8172, allocations: 3.094 kB / 0.9561 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.002e-05/0.8173, allocations: 126.3 kB / 0.9562 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8173, allocations: 3.938 kB / 0.9562 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002795/0.8176, allocations: 31.62 kB / 0.9563 GB, free: 3.629 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0005601/0.8182, allocations: 0.8451 MB / 0.9571 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.8185, allocations: 110.7 kB / 0.9572 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8185, allocations: 1.594 kB / 0.9572 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.8187, allocations: 59.2 kB / 0.9572 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.8192, allocations: 41.41 kB / 0.9573 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.8213, allocations: 1.815 MB / 0.9591 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.8214, allocations: 0.7013 MB / 0.9597 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.502e-05/0.8215, allocations: 11.62 kB / 0.9598 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.8216, allocations: 37.83 kB / 0.9598 GB, free: 428 kB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8216, allocations: 0 / 0.9598 GB, free: 428 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1986/1.02, allocations: 3.592 MB / 0.9633 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.7, allocations: 14.19 kB / 0.9633 GB, free: 14.61 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches