Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.004741/0.004741, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001321/0.001321, allocations: 192.9 kB / 16.67 MB, free: 5.969 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 482.4 MB / 0.7548 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 72.47 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 162.2 MB / 1.241 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2714/0.5657, allocations: 241.7 MB / 1.478 GB, free: 6.578 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.5794, allocations: 8.407 MB / 1.486 GB, free: 14.15 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.5807, allocations: 67.56 kB / 1.486 GB, free: 14.09 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.5831, allocations: 1.06 MB / 1.487 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.5901, allocations: 3.068 MB / 1.49 GB, free: 9.938 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.007709/0.5978, allocations: 3.516 MB / 1.493 GB, free: 6.418 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004974/0.6028, allocations: 3.901 MB / 1.497 GB, free: 2.504 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.6048, allocations: 1.349 MB / 1.498 GB, free: 1.121 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005997/0.6108, allocations: 2.187 MB / 1.501 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00287/0.6138, allocations: 1.362 MB / 1.502 GB, free: 13.56 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.6141, allocations: 128 kB / 1.502 GB, free: 13.43 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/0.6217, allocations: 3.928 MB / 1.506 GB, free: 9.496 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0007003/0.6224, allocations: 0.5996 MB / 1.506 GB, free: 8.895 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.6237, allocations: 0.9908 MB / 1.507 GB, free: 7.898 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.6307, allocations: 3.862 MB / 1.511 GB, free: 4.023 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6308, allocations: 3.938 kB / 1.511 GB, free: 4.02 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6308, allocations: 4 kB / 1.511 GB, free: 4.016 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.6308, allocations: 0 / 1.511 GB, free: 4.016 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006311/0.6371, allocations: 2.698 MB / 1.514 GB, free: 1.246 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6372, allocations: 12.03 kB / 1.514 GB, free: 1.234 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000246/0.6374, allocations: 198.4 kB / 1.514 GB, free: 1.031 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007721/0.6452, allocations: 1.134 MB / 1.515 GB, free: 15.89 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.6477, allocations: 1.275 MB / 1.516 GB, free: 14.57 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.6478, allocations: 106.5 kB / 1.516 GB, free: 14.46 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.648, allocations: 132 kB / 1.517 GB, free: 14.33 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/0.6523, allocations: 1.959 MB / 1.518 GB, free: 12.25 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.6523, allocations: 3.938 kB / 1.519 GB, free: 12.24 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.6525, allocations: 56 kB / 1.519 GB, free: 12.19 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.6526, allocations: 58.34 kB / 1.519 GB, free: 12.13 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005143/0.6577, allocations: 1.89 MB / 1.52 GB, free: 10.23 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.6687, allocations: 8.672 MB / 1.529 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.673, allocations: 1.5 MB / 1.53 GB, free: 15.47 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.6751, allocations: 0.799 MB / 1.531 GB, free: 14.67 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.6766, allocations: 0.9492 MB / 1.532 GB, free: 13.54 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/0.6789, allocations: 0.8832 MB / 1.533 GB, free: 12.64 MB / 1.264 GB Notification: Performance of pre-optimization done (n=106): time 3.036e-06/0.6789, allocations: 0 / 1.533 GB, free: 12.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=106): time 0.007174/0.686, allocations: 2.392 MB / 1.535 GB, free: 10.24 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.6861, allocations: 64.41 kB / 1.535 GB, free: 10.16 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.6884, allocations: 1.709 MB / 1.537 GB, free: 8.406 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.6885, allocations: 49.7 kB / 1.537 GB, free: 8.352 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007425/0.6893, allocations: 0.8287 MB / 1.538 GB, free: 7.516 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.6896, allocations: 392.6 kB / 1.538 GB, free: 7.129 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004314/0.6901, allocations: 242.8 kB / 1.538 GB, free: 6.887 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6903, allocations: 357.8 kB / 1.539 GB, free: 6.531 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.6923, allocations: 0.6661 MB / 1.539 GB, free: 5.863 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.6947, allocations: 1.045 MB / 1.541 GB, free: 4.668 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/0.699, allocations: 1.718 MB / 1.542 GB, free: 2.809 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.699, allocations: 4 kB / 1.542 GB, free: 2.805 MB / 1.264 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004958/0.704, allocations: 1.933 MB / 1.544 GB, free: 0.8594 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.704, allocations: 12.03 kB / 1.544 GB, free: 0.8477 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.704, allocations: 12 kB / 1.544 GB, free: 0.8359 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.7041, allocations: 16 kB / 1.544 GB, free: 0.8203 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.7059, allocations: 363.4 kB / 1.544 GB, free: 476 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.7059, allocations: 23.94 kB / 1.544 GB, free: 452 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7076, allocations: 250.7 kB / 1.545 GB, free: 200 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.7077, allocations: 63.97 kB / 1.545 GB, free: 136 kB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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.516/1.224, allocations: 390 kB / 1.545 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/1.224, allocations: 202 kB / 1.545 GB, free: 300.9 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004918/1.229, allocations: 1.82 MB / 1.547 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.229, allocations: 13.98 kB / 1.547 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.229, allocations: 1.5 kB / 1.547 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.229, allocations: 5.906 kB / 1.547 GB, free: 300.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008657/1.238, allocations: 3.983 MB / 1.551 GB, free: 299.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.238, allocations: 6.531 kB / 1.551 GB, free: 299.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001751/1.24, allocations: 270 kB / 1.551 GB, free: 299.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-05/1.24, allocations: 10.41 kB / 1.551 GB, free: 299.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/1.24, allocations: 39.28 kB / 1.551 GB, free: 299.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-05/1.24, allocations: 16.64 kB / 1.551 GB, free: 299.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/1.24, allocations: 11.75 kB / 1.551 GB, free: 299.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006654/1.247, allocations: 2.929 MB / 1.554 GB, free: 298.6 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000633/1.247, allocations: 400.7 kB / 1.555 GB, free: 298.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/1.247, allocations: 32.16 kB / 1.555 GB, free: 298.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.249, allocations: 120.9 kB / 1.555 GB, free: 298.3 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.249, allocations: 89.56 kB / 1.555 GB, free: 298.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.249, allocations: 52.02 kB / 1.555 GB, free: 298.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001554/1.251, allocations: 1.164 MB / 1.556 GB, free: 297.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.51e-07/1.251, allocations: 0 / 1.556 GB, free: 297.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001274/1.252, allocations: 466.4 kB / 1.556 GB, free: 297.8 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.008388/1.26, allocations: 3.966 MB / 1.56 GB, free: 296 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004338/1.265, allocations: 1.637 MB / 1.562 GB, free: 295.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.265, allocations: 1 kB / 1.562 GB, free: 295.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/1.267, allocations: 0.815 MB / 1.563 GB, free: 295.4 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.271, allocations: 0.971 MB / 1.564 GB, free: 295.1 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.294, allocations: 14.67 MB / 1.578 GB, free: 288.2 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/1.295, allocations: 1.369 MB / 1.579 GB, free: 287.4 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001738/1.296, allocations: 467 kB / 1.58 GB, free: 287.3 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/1.297, allocations: 0.7225 MB / 1.581 GB, free: 286.8 MB / 1.264 GB Notification: Performance of SimCode: time 5.91e-07/1.297, allocations: 0 / 1.581 GB, free: 286.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07102/1.368, allocations: 50.4 MB / 1.63 GB, free: 239.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.84, allocations: 4.344 kB / 1.63 GB, free: 239.3 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches