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.001282/0.001282, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001425/0.001425, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.745/2.745, allocations: 476.7 MB / 0.7678 GB, free: 9.363 MB / 0.6075 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.001948/0.001948, allocations: 75.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03646/1.055, allocations: 29.74 MB / 1.308 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01258/1.067, allocations: 6.998 MB / 1.315 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/1.069, allocations: 70.56 kB / 1.315 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/1.071, allocations: 0.7126 MB / 1.316 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/1.077, allocations: 1.558 MB / 1.317 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/1.081, allocations: 1.068 MB / 1.318 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004683/1.085, allocations: 2.511 MB / 1.321 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/1.087, allocations: 0.6859 MB / 1.321 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/1.09, allocations: 1.071 MB / 1.322 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/1.091, allocations: 0.8716 MB / 1.323 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/1.091, allocations: 66.78 kB / 1.323 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/1.094, allocations: 0.8597 MB / 1.324 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/1.094, allocations: 291.6 kB / 1.324 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007407/1.095, allocations: 0.5573 MB / 1.325 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003312/1.098, allocations: 1.648 MB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.098, allocations: 1.062 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/1.098, allocations: 0 / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.799e-05/1.098, allocations: 0 / 1.327 GB, free: 12.02 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.003256/1.102, allocations: 1.636 MB / 1.328 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.102, allocations: 8.562 kB / 1.328 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.986e-05/1.102, allocations: 19 kB / 1.328 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/1.102, allocations: 118 kB / 1.328 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/1.105, allocations: 0.5926 MB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/1.107, allocations: 0.8953 MB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/1.107, allocations: 60.19 kB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/1.107, allocations: 73.45 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/1.11, allocations: 1.104 MB / 1.331 GB, free: 8.941 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/1.11, allocations: 5.625 kB / 1.331 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/1.11, allocations: 31.73 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/1.11, allocations: 18.03 kB / 1.331 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/1.113, allocations: 0.9999 MB / 1.332 GB, free: 8.441 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.006875/1.12, allocations: 4.955 MB / 1.337 GB, free: 3.992 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/1.124, allocations: 0.879 MB / 1.338 GB, free: 3.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/1.125, allocations: 463.5 kB / 1.338 GB, free: 3.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/1.127, allocations: 1.592 MB / 1.34 GB, free: 1.492 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/1.129, allocations: 0.5748 MB / 1.34 GB, free: 1.152 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/1.129, allocations: 0 / 1.34 GB, free: 1.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.005273/1.134, allocations: 1.496 MB / 1.342 GB, free: 440 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.134, allocations: 62.83 kB / 1.342 GB, free: 372 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/1.136, allocations: 1.144 MB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.136, allocations: 43.11 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/1.136, allocations: 0.5611 MB / 1.343 GB, free: 15.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/1.137, allocations: 226.6 kB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/1.137, allocations: 164.9 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.137, allocations: 332.9 kB / 1.344 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/1.139, allocations: 456.5 kB / 1.345 GB, free: 14.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.14, allocations: 0.7093 MB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/1.144, allocations: 1.122 MB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.144, allocations: 1.375 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003837/1.147, allocations: 1.283 MB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.147, allocations: 8 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.147, allocations: 12.41 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.147, allocations: 11.41 kB / 1.348 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.149, allocations: 277 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/1.149, allocations: 11.94 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/1.15, allocations: 179 kB / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.15, allocations: 44.98 kB / 1.348 GB, free: 12.28 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.0005727/1.151, allocations: 303 kB / 1.348 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.151, allocations: 124.7 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/1.155, allocations: 1.358 MB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/1.155, allocations: 16.45 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.155, allocations: 0 / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.155, allocations: 3.984 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/1.16, allocations: 2.387 MB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.16, allocations: 2.5 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.161, allocations: 185.5 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/1.161, allocations: 4.406 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/1.161, allocations: 25.97 kB / 1.352 GB, free: 9.645 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.882e-06/1.161, allocations: 4.25 kB / 1.352 GB, free: 9.645 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.161, allocations: 9.406 kB / 1.352 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005531/1.167, allocations: 1.979 MB / 1.354 GB, free: 8.555 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/1.168, allocations: 282.7 kB / 1.355 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/1.168, allocations: 14.16 kB / 1.355 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/1.169, allocations: 113.3 kB / 1.355 GB, free: 8.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.169, allocations: 55.12 kB / 1.355 GB, free: 8.215 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/1.169, allocations: 33.47 kB / 1.355 GB, free: 8.203 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001134/1.17, allocations: 0.7852 MB / 1.356 GB, free: 7.793 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 4 kB / 1.356 GB, free: 7.789 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001303/1.171, allocations: 349.3 kB / 1.356 GB, free: 7.703 MB / 1.045 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.007872/1.179, allocations: 3.072 MB / 1.359 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003594/1.183, allocations: 1.085 MB / 1.36 GB, free: 5.371 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.183, allocations: 0 / 1.36 GB, free: 5.371 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.185, allocations: 0.5429 MB / 1.361 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.187, allocations: 458.5 kB / 1.361 GB, free: 4.875 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.207, allocations: 9.719 MB / 1.37 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/1.207, allocations: 1.114 MB / 1.372 GB, free: 12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009749/1.208, allocations: 248.7 kB / 1.372 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000697/1.209, allocations: 471.2 kB / 1.372 GB, free: 11.3 MB / 1.061 GB Notification: Performance of SimCode: time 9.02e-07/1.209, allocations: 0 / 1.372 GB, free: 11.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0669/1.276, allocations: 31.04 MB / 1.403 GB, free: 12.65 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/12.14, allocations: 10.3 kB / 1.403 GB, free: 12.64 MB / 1.092 GB " [Timeout remaining time 288] (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: 18.64000189199578]