Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.005799/0.005799, allocations: 95.97 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.001638/0.001638, allocations: 194.3 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001938, allocations: 71.83 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2744, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03153/0.306, allocations: 29.34 MB / 1.249 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5303/0.8363, allocations: 6.861 MB / 1.256 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006457/0.837, allocations: 50.06 kB / 1.256 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.8383, allocations: 0.696 MB / 1.256 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.8409, allocations: 1.447 MB / 1.258 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.8435, allocations: 1.155 MB / 1.259 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.846, allocations: 2.477 MB / 1.261 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.8469, allocations: 0.7942 MB / 1.262 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.8482, allocations: 1.014 MB / 1.263 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008218/0.8491, allocations: 0.8138 MB / 1.264 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.8492, allocations: 67.45 kB / 1.264 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.8507, allocations: 0.8221 MB / 1.265 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002366/0.851, allocations: 273 kB / 1.265 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.8514, allocations: 0.5604 MB / 1.265 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.8532, allocations: 1.621 MB / 1.267 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8532, allocations: 4.516 kB / 1.267 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8532, allocations: 0 / 1.267 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.8532, allocations: 0.9375 kB / 1.267 GB, free: 3.496 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002416/0.8556, allocations: 1.605 MB / 1.269 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8557, allocations: 9 kB / 1.269 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.8558, allocations: 123.1 kB / 1.269 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.8595, allocations: 0.5903 MB / 1.269 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.8608, allocations: 0.874 MB / 1.27 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.8609, allocations: 57.38 kB / 1.27 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.861, allocations: 82.11 kB / 1.27 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.8635, allocations: 1.093 MB / 1.271 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.8635, allocations: 5.766 kB / 1.271 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.8636, allocations: 35.77 kB / 1.271 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.8636, allocations: 18.03 kB / 1.271 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.8669, allocations: 1.005 MB / 1.272 GB, free: 1.68 MB / 0.9981 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.005644/0.8725, allocations: 4.956 MB / 1.277 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.8756, allocations: 0.9054 MB / 1.278 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.8771, allocations: 489.6 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.8788, allocations: 1.588 MB / 1.28 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/0.8805, allocations: 0.5842 MB / 1.281 GB, free: 12.57 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.8805, allocations: 0 / 1.281 GB, free: 12.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.004968/0.8855, allocations: 1.487 MB / 1.282 GB, free: 12.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.8855, allocations: 62.88 kB / 1.282 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.8868, allocations: 1.116 MB / 1.283 GB, free: 12.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.8869, allocations: 42.34 kB / 1.283 GB, free: 12.17 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.8874, allocations: 0.5473 MB / 1.284 GB, free: 11.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.8876, allocations: 222 kB / 1.284 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.8879, allocations: 165.1 kB / 1.284 GB, free: 11.66 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.8881, allocations: 334.5 kB / 1.285 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.8897, allocations: 452.4 kB / 1.285 GB, free: 11.23 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.8916, allocations: 0.7153 MB / 1.286 GB, free: 10.79 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.8949, allocations: 1.124 MB / 1.287 GB, free: 10.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.8949, allocations: 1.906 kB / 1.287 GB, free: 10.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003839/0.8988, allocations: 1.274 MB / 1.288 GB, free: 9.785 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.8988, allocations: 11.88 kB / 1.288 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8988, allocations: 8.094 kB / 1.288 GB, free: 9.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.8988, allocations: 15.53 kB / 1.288 GB, free: 9.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.9001, allocations: 269 kB / 1.288 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.9001, allocations: 23.67 kB / 1.288 GB, free: 9.754 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.9014, allocations: 188.1 kB / 1.289 GB, free: 9.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.9015, allocations: 47.66 kB / 1.289 GB, free: 9.672 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004576/0.902, allocations: 293.3 kB / 1.289 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.9022, allocations: 127.6 kB / 1.289 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.9063, allocations: 1.355 MB / 1.29 GB, free: 8.992 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.9063, allocations: 12.61 kB / 1.29 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9063, allocations: 1.188 kB / 1.29 GB, free: 8.988 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.9063, allocations: 7.844 kB / 1.29 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00543/0.9118, allocations: 2.37 MB / 1.293 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.9118, allocations: 2.328 kB / 1.293 GB, free: 7.973 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.9128, allocations: 198.2 kB / 1.293 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.9129, allocations: 4.859 kB / 1.293 GB, free: 7.949 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.9129, allocations: 29.59 kB / 1.293 GB, free: 7.938 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.913, allocations: 3.469 kB / 1.293 GB, free: 7.938 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.913, allocations: 3.094 kB / 1.293 GB, free: 7.938 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/0.9186, allocations: 1.978 MB / 1.295 GB, free: 7.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/0.919, allocations: 279.5 kB / 1.295 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.9192, allocations: 20.7 kB / 1.295 GB, free: 6.961 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000984/0.9202, allocations: 102.6 kB / 1.295 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.9203, allocations: 57.12 kB / 1.295 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.9204, allocations: 33.41 kB / 1.295 GB, free: 6.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009984/0.9214, allocations: 0.7644 MB / 1.296 GB, free: 6.645 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9214, allocations: 0 / 1.296 GB, free: 6.645 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001102/0.9225, allocations: 345.2 kB / 1.296 GB, free: 6.566 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.007911/0.9304, allocations: 3.088 MB / 1.299 GB, free: 5.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003619/0.9341, allocations: 1.112 MB / 1.3 GB, free: 4.797 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9341, allocations: 0 / 1.3 GB, free: 4.797 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.9359, allocations: 0.5774 MB / 1.301 GB, free: 4.645 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.938, allocations: 456.4 kB / 1.301 GB, free: 4.492 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.9571, allocations: 9.623 MB / 1.311 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007728/0.9579, allocations: 1.109 MB / 1.312 GB, free: 15.23 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009865/0.9589, allocations: 244.4 kB / 1.312 GB, free: 15.15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.9597, allocations: 465 kB / 1.313 GB, free: 14.82 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.9597, allocations: 0 / 1.313 GB, free: 14.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06302/1.023, allocations: 30.67 MB / 1.343 GB, free: 1.383 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.933/10.96, allocations: 8.75 kB / 1.343 GB, free: 1.379 MB / 1.029 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches