Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_Water,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_9_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.008542/0.008551, allocations: 105.2 kB / 15.74 MB, free: 6.035 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.001659/0.001659, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.349/2.349, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.108, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03535/1.143, allocations: 29.33 MB / 1.116 GB, free: 244 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01365/1.157, allocations: 6.887 MB / 1.123 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002621/1.16, allocations: 49.88 kB / 1.123 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/1.162, allocations: 0.6907 MB / 1.124 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006163/1.169, allocations: 1.453 MB / 1.125 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/1.173, allocations: 1.149 MB / 1.126 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005148/1.178, allocations: 2.478 MB / 1.129 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002091/1.18, allocations: 0.7934 MB / 1.129 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/1.183, allocations: 1.013 MB / 1.13 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/1.185, allocations: 0.8156 MB / 1.131 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004055/1.186, allocations: 64.81 kB / 1.131 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/1.189, allocations: 0.821 MB / 1.132 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000677/1.19, allocations: 281.2 kB / 1.132 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/1.192, allocations: 0.5551 MB / 1.133 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005513/1.197, allocations: 1.61 MB / 1.134 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/1.197, allocations: 0 / 1.134 GB, free: 5.973 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.968e-06/1.197, allocations: 3.938 kB / 1.134 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000108/1.197, allocations: 1.578 kB / 1.134 GB, free: 5.969 MB / 0.8887 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.006039/1.203, allocations: 1.571 MB / 1.136 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/1.203, allocations: 10.34 kB / 1.136 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004054/1.204, allocations: 115.7 kB / 1.136 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/1.208, allocations: 0.5847 MB / 1.137 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/1.211, allocations: 0.872 MB / 1.137 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-05/1.211, allocations: 61.42 kB / 1.137 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/1.211, allocations: 74.12 kB / 1.138 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/1.215, allocations: 1.096 MB / 1.139 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/1.215, allocations: 9.094 kB / 1.139 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/1.215, allocations: 34.59 kB / 1.139 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/1.215, allocations: 18.38 kB / 1.139 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/1.218, allocations: 0.9968 MB / 1.14 GB, free: 3.332 MB / 0.8887 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.007858/1.226, allocations: 4.937 MB / 1.144 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/1.23, allocations: 0.9029 MB / 1.145 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.231, allocations: 487.1 kB / 1.146 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/1.233, allocations: 1.593 MB / 1.147 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/1.235, allocations: 0.5769 MB / 1.148 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=61): time 4.568e-06/1.235, allocations: 0 / 1.148 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=61): time 0.005566/1.24, allocations: 1.481 MB / 1.149 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/1.241, allocations: 62.8 kB / 1.149 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/1.243, allocations: 1.11 MB / 1.151 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.243, allocations: 43.41 kB / 1.151 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006778/1.244, allocations: 0.5472 MB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/1.244, allocations: 212 kB / 1.151 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/1.245, allocations: 164.1 kB / 1.151 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.245, allocations: 336.1 kB / 1.152 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/1.247, allocations: 451 kB / 1.152 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00205/1.249, allocations: 0.7107 MB / 1.153 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/1.252, allocations: 1.118 MB / 1.154 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.252, allocations: 6.594 kB / 1.154 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004528/1.257, allocations: 1.279 MB / 1.155 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.257, allocations: 8.281 kB / 1.155 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.257, allocations: 7.938 kB / 1.155 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/1.257, allocations: 12.95 kB / 1.155 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.258, allocations: 274.4 kB / 1.156 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.914e-05/1.258, allocations: 18.59 kB / 1.156 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.26, allocations: 186.3 kB / 1.156 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/1.26, allocations: 41.83 kB / 1.156 GB, free: 9.477 MB / 0.9044 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.0007707/1.261, allocations: 292 kB / 1.156 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/1.261, allocations: 128 kB / 1.156 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/1.266, allocations: 1.354 MB / 1.158 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/1.266, allocations: 15.48 kB / 1.158 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.266, allocations: 1.062 kB / 1.158 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.266, allocations: 3.984 kB / 1.158 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/1.272, allocations: 2.36 MB / 1.16 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.272, allocations: 5.344 kB / 1.16 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.274, allocations: 187.2 kB / 1.16 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-05/1.274, allocations: 4.219 kB / 1.16 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/1.274, allocations: 24.5 kB / 1.16 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/1.274, allocations: 4 kB / 1.16 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.274, allocations: 6.406 kB / 1.16 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005807/1.28, allocations: 1.98 MB / 1.162 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/1.28, allocations: 273.6 kB / 1.162 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.281, allocations: 18.56 kB / 1.162 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.282, allocations: 108.7 kB / 1.162 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.282, allocations: 51.75 kB / 1.162 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.282, allocations: 37.81 kB / 1.162 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001591/1.284, allocations: 0.7629 MB / 1.163 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/1.284, allocations: 0 / 1.163 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001978/1.286, allocations: 348.9 kB / 1.164 GB, free: 5.18 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.008033/1.294, allocations: 3.081 MB / 1.167 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004447/1.298, allocations: 1.114 MB / 1.168 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.298, allocations: 0 / 1.168 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.301, allocations: 0.5755 MB / 1.168 GB, free: 2.574 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/1.305, allocations: 461.4 kB / 1.169 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.332, allocations: 9.574 MB / 1.178 GB, free: 12.54 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/1.333, allocations: 1.108 MB / 1.179 GB, free: 11.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001269/1.334, allocations: 247.1 kB / 1.179 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007513/1.335, allocations: 467.5 kB / 1.18 GB, free: 11.16 MB / 0.92 GB Notification: Performance of SimCode: time 8.52e-07/1.335, allocations: 1.156 kB / 1.18 GB, free: 11.16 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06946/1.404, allocations: 30.64 MB / 1.21 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/11.48, allocations: 7.812 kB / 1.21 GB, free: 15.97 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches