Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_10_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.00145/0.00145, allocations: 108 kB / 15.6 MB, free: 132 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.00174/0.00174, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 60.09 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6653, allocations: 151.6 MB / 1.017 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03754/0.7029, allocations: 29.35 MB / 1.046 GB, free: 5.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.7196, allocations: 6.854 MB / 1.053 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.7217, allocations: 51.62 kB / 1.053 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.7238, allocations: 0.6953 MB / 1.053 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00438/0.7283, allocations: 1.454 MB / 1.055 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.7318, allocations: 1.143 MB / 1.056 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004371/0.7362, allocations: 2.477 MB / 1.058 GB, free: 8.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.7381, allocations: 0.7887 MB / 1.059 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.7407, allocations: 1.008 MB / 1.06 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.7425, allocations: 0.813 MB / 1.061 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000338/0.7429, allocations: 72 kB / 1.061 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.7459, allocations: 0.8149 MB / 1.062 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.7465, allocations: 275 kB / 1.062 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.7477, allocations: 0.5553 MB / 1.063 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003604/0.7513, allocations: 1.585 MB / 1.064 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7513, allocations: 0 / 1.064 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7513, allocations: 0 / 1.064 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.927e-05/0.7514, allocations: 0 / 1.064 GB, free: 2.496 MB / 0.8106 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.004293/0.7557, allocations: 1.57 MB / 1.066 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.7558, allocations: 8.031 kB / 1.066 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002496/0.756, allocations: 114.7 kB / 1.066 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.7598, allocations: 0.5963 MB / 1.066 GB, free: 144 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.7614, allocations: 0.7978 MB / 1.067 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.7615, allocations: 62.12 kB / 1.067 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.7617, allocations: 75.98 kB / 1.067 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.7645, allocations: 1.099 MB / 1.068 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.7646, allocations: 4 kB / 1.068 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.502e-05/0.7647, allocations: 32 kB / 1.068 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.7647, allocations: 16 kB / 1.068 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.768, allocations: 1 MB / 1.069 GB, free: 12.93 MB / 0.8262 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.006478/0.7745, allocations: 4.959 MB / 1.074 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.7775, allocations: 0.9039 MB / 1.075 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.779, allocations: 496.1 kB / 1.076 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.7806, allocations: 1.588 MB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.7824, allocations: 0.5768 MB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.7824, allocations: 0 / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.005125/0.7875, allocations: 1.477 MB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.7876, allocations: 63.95 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.789, allocations: 1.12 MB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-05/0.7891, allocations: 37.7 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.7896, allocations: 0.5473 MB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.7898, allocations: 205.1 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.7901, allocations: 170.5 kB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7902, allocations: 334 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.7918, allocations: 449.6 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.7936, allocations: 0.7203 MB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003118/0.7967, allocations: 1.117 MB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.7968, allocations: 3.938 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003762/0.8005, allocations: 1.278 MB / 1.085 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.8006, allocations: 8 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.8006, allocations: 8 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.8006, allocations: 12 kB / 1.085 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.8019, allocations: 272.2 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-05/0.8019, allocations: 19.92 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.8032, allocations: 182.9 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.8033, allocations: 43.98 kB / 1.086 GB, free: 11.43 MB / 0.8419 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.0004848/0.8038, allocations: 287.8 kB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.804, allocations: 118.5 kB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.8078, allocations: 1.367 MB / 1.087 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.8079, allocations: 16 kB / 1.087 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8079, allocations: 0 / 1.087 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.8079, allocations: 3.984 kB / 1.087 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.8129, allocations: 2.366 MB / 1.09 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.813, allocations: 4 kB / 1.09 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.814, allocations: 187.9 kB / 1.09 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.8141, allocations: 4 kB / 1.09 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.847e-05/0.8141, allocations: 31.97 kB / 1.09 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.8142, allocations: 7.938 kB / 1.09 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8142, allocations: 3.938 kB / 1.09 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/0.8195, allocations: 1.973 MB / 1.092 GB, free: 4.945 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.82, allocations: 283.2 kB / 1.092 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.8201, allocations: 16 kB / 1.092 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.8211, allocations: 103.9 kB / 1.092 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.8213, allocations: 56.52 kB / 1.092 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.8214, allocations: 39.91 kB / 1.092 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000964/0.8223, allocations: 0.7677 MB / 1.093 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8223, allocations: 0 / 1.093 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00109/0.8234, allocations: 339.6 kB / 1.093 GB, free: 3.332 MB / 0.8419 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.00698/0.8304, allocations: 3.077 MB / 1.096 GB, free: 388 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003856/0.8343, allocations: 1.177 MB / 1.098 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8343, allocations: 0 / 1.098 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.8361, allocations: 0.5774 MB / 1.098 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.8383, allocations: 461.7 kB / 1.099 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.8565, allocations: 10.2 MB / 1.108 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.8572, allocations: 1.104 MB / 1.11 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001065/0.8583, allocations: 252.6 kB / 1.11 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/0.8589, allocations: 467.2 kB / 1.11 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.8589, allocations: 0 / 1.11 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.9614, allocations: 30.33 MB / 1.14 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/9.365, allocations: 0 / 1.14 GB, free: 3.625 MB / 0.8887 GB (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches