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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 215.1 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.768/2.768, allocations: 476.7 MB / 0.7714 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 65.31 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03744/0.361, allocations: 30.01 MB / 1.313 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01163/0.3726, allocations: 7.04 MB / 1.32 GB, free: 6.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.374, allocations: 67.38 kB / 1.32 GB, free: 6.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.3758, allocations: 0.7108 MB / 1.321 GB, free: 5.789 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.38, allocations: 1.586 MB / 1.323 GB, free: 4.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.383, allocations: 1.116 MB / 1.324 GB, free: 3.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003966/0.387, allocations: 2.528 MB / 1.326 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.3885, allocations: 0.6583 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.3912, allocations: 1.086 MB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.393, allocations: 0.8714 MB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.3933, allocations: 68 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.3955, allocations: 0.8772 MB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.396, allocations: 290.8 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.397, allocations: 0.563 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.4007, allocations: 1.63 MB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4007, allocations: 4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4007, allocations: 7.938 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.198e-05/0.4007, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 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.003483/0.4042, allocations: 1.561 MB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4043, allocations: 12.03 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.779e-05/0.4043, allocations: 22.19 kB / 1.334 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.4045, allocations: 114.7 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.4081, allocations: 0.5892 MB / 1.334 GB, free: 8.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.4103, allocations: 0.8129 MB / 1.335 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.4104, allocations: 61.94 kB / 1.335 GB, free: 7.191 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.4106, allocations: 71.95 kB / 1.335 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.4134, allocations: 1.099 MB / 1.336 GB, free: 5.945 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.4135, allocations: 3.938 kB / 1.336 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-05/0.4136, allocations: 28 kB / 1.336 GB, free: 5.914 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.4136, allocations: 20 kB / 1.336 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.417, allocations: 1.004 MB / 1.337 GB, free: 4.891 MB / 1.029 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.007265/0.4243, allocations: 4.909 MB / 1.342 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003205/0.4275, allocations: 0.8718 MB / 1.343 GB, free: 14.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.429, allocations: 470.1 kB / 1.343 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/0.4298, allocations: 168.3 kB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.4317, allocations: 0.572 MB / 1.344 GB, free: 13.61 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 3.877e-06/0.4317, allocations: 0 / 1.344 GB, free: 13.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.005365/0.4371, allocations: 1.491 MB / 1.346 GB, free: 12.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4371, allocations: 63.91 kB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4389, allocations: 1.141 MB / 1.347 GB, free: 10.88 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.439, allocations: 49.64 kB / 1.347 GB, free: 10.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/0.4395, allocations: 0.5638 MB / 1.347 GB, free: 10.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.4398, allocations: 214.2 kB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/0.4401, allocations: 166.6 kB / 1.348 GB, free: 9.879 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4403, allocations: 333.9 kB / 1.348 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.4418, allocations: 453.6 kB / 1.349 GB, free: 9.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.4437, allocations: 0.7167 MB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.4471, allocations: 1.118 MB / 1.35 GB, free: 7.047 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4471, allocations: 4 kB / 1.35 GB, free: 7.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004148/0.4512, allocations: 1.277 MB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4513, allocations: 8 kB / 1.352 GB, free: 5.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4513, allocations: 12.06 kB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.4513, allocations: 12 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.4526, allocations: 271.5 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/0.4526, allocations: 19.92 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.454, allocations: 191.2 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.4541, allocations: 43.97 kB / 1.352 GB, free: 5.211 MB / 1.045 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.0006282/0.4547, allocations: 303.5 kB / 1.352 GB, free: 4.906 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.4551, allocations: 135.1 kB / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/0.4594, allocations: 1.399 MB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/0.4594, allocations: 12 kB / 1.354 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4594, allocations: 0 / 1.354 GB, free: 3.359 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4594, allocations: 7.984 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006061/0.4655, allocations: 2.398 MB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.4655, allocations: 0 / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.4666, allocations: 195.9 kB / 1.356 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.598e-05/0.4666, allocations: 4 kB / 1.356 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/0.4667, allocations: 31.91 kB / 1.356 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.948e-06/0.4667, allocations: 4 kB / 1.356 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.4667, allocations: 7.938 kB / 1.356 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005763/0.4724, allocations: 2.024 MB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/0.473, allocations: 218.9 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/0.4733, allocations: 12 kB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.4744, allocations: 111.9 kB / 1.359 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.4745, allocations: 60.5 kB / 1.359 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.4746, allocations: 31.97 kB / 1.359 GB, free: 14.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001154/0.4757, allocations: 0.7879 MB / 1.36 GB, free: 13.37 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4757, allocations: 0 / 1.36 GB, free: 13.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001304/0.4771, allocations: 355.3 kB / 1.36 GB, free: 13.02 MB / 1.061 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 (73): * Single equations (assignments): 58 * 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.008178/0.4852, allocations: 3.117 MB / 1.363 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003847/0.4891, allocations: 1.084 MB / 1.364 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.4891, allocations: 0 / 1.364 GB, free: 8.941 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.491, allocations: 0.5623 MB / 1.365 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.4935, allocations: 451.5 kB / 1.365 GB, free: 7.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/0.5149, allocations: 9.741 MB / 1.375 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/0.5157, allocations: 1.114 MB / 1.376 GB, free: 12.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001033/0.5168, allocations: 244.7 kB / 1.376 GB, free: 12.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007576/0.5175, allocations: 479.2 kB / 1.376 GB, free: 11.97 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/0.5175, allocations: 4 kB / 1.376 GB, free: 11.97 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07701/0.5945, allocations: 31.85 MB / 1.407 GB, free: 12.51 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/14.74, allocations: 2.578 kB / 1.407 GB, free: 12.51 MB / 1.107 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.769878432969563]