Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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.006777/0.006777, allocations: 101 kB / 15.73 MB, free: 6.047 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.001083/0.001083, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.422/2.422, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 68.06 kB / 0.9504 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3216, allocations: 140.4 MB / 1.087 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 1.106/1.428, allocations: 193.8 MB / 1.277 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009532/1.438, allocations: 5.155 MB / 1.282 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/1.439, allocations: 49.12 kB / 1.282 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00243/1.442, allocations: 0.8096 MB / 1.283 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008325/1.45, allocations: 2.598 MB / 1.285 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003637/1.454, allocations: 1.114 MB / 1.286 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004931/1.459, allocations: 2.598 MB / 1.289 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/1.461, allocations: 0.8939 MB / 1.29 GB, free: 2.879 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/1.464, allocations: 1.082 MB / 1.291 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.465, allocations: 0.9546 MB / 1.292 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/1.465, allocations: 81.38 kB / 1.292 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004476/1.47, allocations: 1.779 MB / 1.293 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006154/1.47, allocations: 443.8 kB / 1.294 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.471, allocations: 0.6463 MB / 1.295 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004544/1.476, allocations: 2.17 MB / 1.297 GB, free: 2.555 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.476, allocations: 0 / 1.297 GB, free: 2.555 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.327e-06/1.476, allocations: 1.688 kB / 1.297 GB, free: 2.555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.908e-05/1.476, allocations: 0.875 kB / 1.297 GB, free: 2.555 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005899/1.482, allocations: 1.929 MB / 1.299 GB, free: 1.605 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.482, allocations: 10.12 kB / 1.299 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/1.482, allocations: 141 kB / 1.299 GB, free: 1.566 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004684/1.487, allocations: 0.7042 MB / 1.299 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/1.489, allocations: 0.9515 MB / 1.3 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.117e-05/1.489, allocations: 66.75 kB / 1.3 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/1.489, allocations: 90.03 kB / 1.3 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/1.493, allocations: 1.468 MB / 1.302 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/1.493, allocations: 4.25 kB / 1.302 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/1.493, allocations: 36.27 kB / 1.302 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-05/1.493, allocations: 47.47 kB / 1.302 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/1.498, allocations: 1.56 MB / 1.303 GB, free: 0.8984 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007246/1.505, allocations: 5.019 MB / 1.308 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/1.508, allocations: 1.184 MB / 1.31 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/1.51, allocations: 0.6676 MB / 1.31 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/1.512, allocations: 0.9385 MB / 1.311 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/1.514, allocations: 0.7269 MB / 1.312 GB, free: 13.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/1.514, allocations: 0 / 1.312 GB, free: 13.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=82): time 0.006544/1.52, allocations: 1.952 MB / 1.314 GB, free: 13.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/1.52, allocations: 63.86 kB / 1.314 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/1.522, allocations: 1.269 MB / 1.315 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/1.523, allocations: 42.73 kB / 1.315 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/1.523, allocations: 0.5721 MB / 1.316 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.523, allocations: 281.9 kB / 1.316 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/1.524, allocations: 186.5 kB / 1.316 GB, free: 12.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.524, allocations: 346.6 kB / 1.316 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.525, allocations: 0.5478 MB / 1.317 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/1.527, allocations: 0.8213 MB / 1.318 GB, free: 11.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/1.531, allocations: 1.337 MB / 1.319 GB, free: 11.68 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.531, allocations: 2.594 kB / 1.319 GB, free: 11.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004321/1.535, allocations: 1.518 MB / 1.321 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.535, allocations: 11.94 kB / 1.321 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.535, allocations: 8.094 kB / 1.321 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/1.535, allocations: 14.31 kB / 1.321 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/1.537, allocations: 297.2 kB / 1.321 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/1.537, allocations: 18.92 kB / 1.321 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.538, allocations: 196.3 kB / 1.321 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.538, allocations: 48.64 kB / 1.321 GB, free: 11.45 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0007259/1.539, allocations: 342 kB / 1.321 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/1.539, allocations: 135.3 kB / 1.322 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/1.543, allocations: 1.453 MB / 1.323 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/1.543, allocations: 5.969 kB / 1.323 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.543, allocations: 2.75 kB / 1.323 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.543, allocations: 2.859 kB / 1.323 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006136/1.55, allocations: 2.859 MB / 1.326 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.55, allocations: 9.281 kB / 1.326 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/1.551, allocations: 223.3 kB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.551, allocations: 8.5 kB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/1.551, allocations: 28.25 kB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/1.551, allocations: 8.688 kB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/1.551, allocations: 8.469 kB / 1.326 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/1.556, allocations: 2.314 MB / 1.328 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/1.557, allocations: 297.4 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/1.558, allocations: 23.58 kB / 1.329 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.559, allocations: 116.9 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.559, allocations: 62.55 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/1.559, allocations: 39.88 kB / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001284/1.56, allocations: 0.8707 MB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.56, allocations: 6.312 kB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001335/1.562, allocations: 315.2 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.007465/1.569, allocations: 3.287 MB / 1.333 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003784/1.573, allocations: 1.314 MB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.515e-06/1.573, allocations: 0 / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.575, allocations: 0.6545 MB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00391/1.579, allocations: 0.6253 MB / 1.336 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.604, allocations: 11.12 MB / 1.347 GB, free: 3.914 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.605, allocations: 1.175 MB / 1.348 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001744/1.607, allocations: 347.3 kB / 1.348 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009539/1.608, allocations: 0.4893 MB / 1.349 GB, free: 2.715 MB / 1.029 GB Notification: Performance of SimCode: time 1.292e-06/1.608, allocations: 0 / 1.349 GB, free: 2.715 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07869/1.686, allocations: 35 MB / 1.383 GB, free: 9.934 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/12.17, allocations: 13.81 kB / 1.383 GB, free: 9.922 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches