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.009779/0.009779, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002143/0.002143, allocations: 198.6 kB / 16.67 MB, free: 5.934 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.414/1.414, 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 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3472, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0317/0.3789, allocations: 29.34 MB / 1.195 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.3899, allocations: 6.867 MB / 1.202 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.3916, allocations: 51.62 kB / 1.202 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.3934, allocations: 0.6992 MB / 1.202 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.3977, allocations: 1.516 MB / 1.204 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.4014, allocations: 1.161 MB / 1.205 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003737/0.4052, allocations: 2.485 MB / 1.207 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.4065, allocations: 0.7906 MB / 1.208 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.4088, allocations: 1.047 MB / 1.209 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.4103, allocations: 0.8208 MB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.4104, allocations: 64 kB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.4125, allocations: 0.8188 MB / 1.211 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.4128, allocations: 274.9 kB / 1.211 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.4135, allocations: 0.5515 MB / 1.212 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.4162, allocations: 1.626 MB / 1.213 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4163, allocations: 4 kB / 1.213 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4163, allocations: 0 / 1.213 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.108e-05/0.4163, allocations: 0 / 1.213 GB, free: 6.957 MB / 0.9669 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.002798/0.4191, allocations: 1.611 MB / 1.215 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4192, allocations: 12.03 kB / 1.215 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.4193, allocations: 110.7 kB / 1.215 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.4225, allocations: 0.6009 MB / 1.215 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.4241, allocations: 0.8729 MB / 1.216 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.4241, allocations: 62.12 kB / 1.216 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4243, allocations: 76 kB / 1.216 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.4266, allocations: 1.088 MB / 1.218 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.4266, allocations: 7.922 kB / 1.218 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.4267, allocations: 32 kB / 1.218 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.4267, allocations: 24 kB / 1.218 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002934/0.4297, allocations: 0.9962 MB / 1.219 GB, free: 1.262 MB / 0.9669 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.005928/0.4356, allocations: 4.952 MB / 1.223 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.4384, allocations: 0.8941 MB / 1.224 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.4398, allocations: 497.1 kB / 1.225 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.4411, allocations: 1.595 MB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.4427, allocations: 0.569 MB / 1.227 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.4427, allocations: 0 / 1.227 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.004611/0.4473, allocations: 1.489 MB / 1.228 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.4474, allocations: 59.91 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.4486, allocations: 1.12 MB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/0.4487, allocations: 45.69 kB / 1.229 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.4492, allocations: 0.552 MB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4494, allocations: 218.2 kB / 1.23 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.4496, allocations: 162.6 kB / 1.23 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4498, allocations: 341.9 kB / 1.231 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.4511, allocations: 457.6 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.4527, allocations: 0.7127 MB / 1.232 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.4555, allocations: 1.117 MB / 1.233 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.4556, allocations: 4 kB / 1.233 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003354/0.4589, allocations: 1.275 MB / 1.234 GB, free: 308 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.459, allocations: 15.94 kB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.459, allocations: 8 kB / 1.234 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.459, allocations: 12 kB / 1.234 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.4601, allocations: 271.6 kB / 1.234 GB, free: 0 / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.274e-05/0.4602, allocations: 20.03 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.4613, allocations: 179.3 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.4614, allocations: 47.95 kB / 1.235 GB, free: 15.75 MB / 0.9981 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.0004252/0.4618, allocations: 295.6 kB / 1.235 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.462, allocations: 135.1 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.4656, allocations: 1.355 MB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.4656, allocations: 8 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4656, allocations: 0 / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4656, allocations: 7.969 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.4704, allocations: 2.378 MB / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4704, allocations: 0 / 1.239 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.4714, allocations: 191.9 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.4714, allocations: 4 kB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.4715, allocations: 23.97 kB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.4715, allocations: 8 kB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.4715, allocations: 15.75 kB / 1.239 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004899/0.4764, allocations: 1.978 MB / 1.241 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.477, allocations: 280 kB / 1.241 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.4771, allocations: 19.98 kB / 1.241 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/0.478, allocations: 107.9 kB / 1.241 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4781, allocations: 52.44 kB / 1.241 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-05/0.4782, allocations: 31.97 kB / 1.241 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008606/0.4791, allocations: 0.7715 MB / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4791, allocations: 0 / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001051/0.4801, allocations: 347.3 kB / 1.243 GB, free: 7.621 MB / 0.9981 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.006634/0.4868, allocations: 3.082 MB / 1.246 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.4902, allocations: 1.107 MB / 1.247 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.4902, allocations: 4.188 kB / 1.247 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.4918, allocations: 0.5773 MB / 1.247 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.4939, allocations: 455.7 kB / 1.248 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6247/1.119, allocations: 9.612 MB / 1.257 GB, free: 78.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/1.12, allocations: 1.104 MB / 1.258 GB, free: 78.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001092/1.121, allocations: 249.8 kB / 1.258 GB, free: 78.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/1.121, allocations: 462 kB / 1.259 GB, free: 77.88 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.121, allocations: 0 / 1.259 GB, free: 77.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07536/1.197, allocations: 30.67 MB / 1.289 GB, free: 70.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.45, allocations: 5.938 kB / 1.289 GB, free: 70.81 MB / 0.9981 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