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.001892/0.001892, 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.002042/0.002042, allocations: 192.9 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.819/2.819, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 69.12 kB / 0.9087 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2556, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0322/0.2878, allocations: 29.33 MB / 1.093 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.2981, allocations: 6.89 MB / 1.099 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.2986, allocations: 47.69 kB / 1.1 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.3, allocations: 0.6953 MB / 1.1 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.3027, allocations: 1.451 MB / 1.102 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.3051, allocations: 1.143 MB / 1.103 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.3077, allocations: 2.473 MB / 1.105 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3088, allocations: 0.7984 MB / 1.106 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.3102, allocations: 1.008 MB / 1.107 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009903/0.3112, allocations: 0.813 MB / 1.108 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3114, allocations: 68 kB / 1.108 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.3129, allocations: 0.8187 MB / 1.109 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000295/0.3132, allocations: 271 kB / 1.109 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005649/0.3137, allocations: 0.5592 MB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.3157, allocations: 1.581 MB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3157, allocations: 4 kB / 1.111 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3157, allocations: 0 / 1.111 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3157, allocations: 3.938 kB / 1.111 GB, free: 14.11 MB / 0.8731 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.002629/0.3183, allocations: 1.566 MB / 1.112 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3184, allocations: 12.03 kB / 1.112 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.3185, allocations: 118.7 kB / 1.113 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.3222, allocations: 0.5845 MB / 1.113 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.3235, allocations: 0.8017 MB / 1.114 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.3235, allocations: 62.12 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.3237, allocations: 75.98 kB / 1.114 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.3263, allocations: 1.096 MB / 1.115 GB, free: 9.594 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.3263, allocations: 3.938 kB / 1.115 GB, free: 9.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.3264, allocations: 32 kB / 1.115 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.3264, allocations: 20 kB / 1.115 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/0.3298, allocations: 0.9923 MB / 1.116 GB, free: 8.543 MB / 0.8731 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.005901/0.3357, allocations: 4.966 MB / 1.121 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.3389, allocations: 0.8951 MB / 1.122 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.3405, allocations: 486.2 kB / 1.122 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.3421, allocations: 1.592 MB / 1.124 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.3439, allocations: 0.5767 MB / 1.124 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.084e-06/0.3439, allocations: 0 / 1.124 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.005084/0.349, allocations: 1.489 MB / 1.126 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.349, allocations: 55.97 kB / 1.126 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.3504, allocations: 1.12 MB / 1.127 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.3505, allocations: 37.7 kB / 1.127 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.351, allocations: 0.555 MB / 1.128 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.3512, allocations: 209 kB / 1.128 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/0.3515, allocations: 166.5 kB / 1.128 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3517, allocations: 334 kB / 1.128 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.3533, allocations: 453.6 kB / 1.129 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.3551, allocations: 0.7125 MB / 1.129 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00329/0.3584, allocations: 1.113 MB / 1.131 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.3585, allocations: 4 kB / 1.131 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00377/0.3622, allocations: 1.278 MB / 1.132 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3623, allocations: 8 kB / 1.132 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3623, allocations: 8 kB / 1.132 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3623, allocations: 12 kB / 1.132 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.3636, allocations: 267.7 kB / 1.132 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.3636, allocations: 23.92 kB / 1.132 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.3648, allocations: 182.9 kB / 1.132 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.3649, allocations: 39.98 kB / 1.132 GB, free: 7.062 MB / 0.8887 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.0004164/0.3653, allocations: 299.8 kB / 1.133 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.3655, allocations: 122.4 kB / 1.133 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.3696, allocations: 1.355 MB / 1.134 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.3696, allocations: 11.98 kB / 1.134 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3697, allocations: 0 / 1.134 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3697, allocations: 4 kB / 1.134 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005266/0.3749, allocations: 2.374 MB / 1.136 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.375, allocations: 0 / 1.136 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.3761, allocations: 187.9 kB / 1.137 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.3761, allocations: 8 kB / 1.137 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.3761, allocations: 23.97 kB / 1.137 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3762, allocations: 4 kB / 1.137 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3762, allocations: 11.88 kB / 1.137 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.3816, allocations: 1.969 MB / 1.138 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.382, allocations: 271.4 kB / 1.139 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.3821, allocations: 20 kB / 1.139 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000974/0.3831, allocations: 107.9 kB / 1.139 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3832, allocations: 52.44 kB / 1.139 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.3833, allocations: 35.97 kB / 1.139 GB, free: 84 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009517/0.3843, allocations: 0.7639 MB / 1.14 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3843, allocations: 0 / 1.14 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009479/0.3852, allocations: 347.5 kB / 1.14 GB, free: 14.97 MB / 0.9044 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.007753/0.393, allocations: 3.093 MB / 1.143 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003817/0.3968, allocations: 1.184 MB / 1.144 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3968, allocations: 0 / 1.144 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.3986, allocations: 0.5775 MB / 1.145 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.4006, allocations: 447.2 kB / 1.145 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.4196, allocations: 10.21 MB / 1.155 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.4204, allocations: 1.107 MB / 1.156 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009765/0.4213, allocations: 248.6 kB / 1.156 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/0.422, allocations: 467.2 kB / 1.157 GB, free: 13.19 MB / 0.92 GB Notification: Performance of SimCode: time 4.1e-07/0.422, allocations: 0 / 1.157 GB, free: 13.19 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06286/0.4849, allocations: 30.33 MB / 1.187 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.49/8.975, allocations: 8 kB / 1.187 GB, free: 15.25 MB / 0.9512 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