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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 104.3 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 192.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 11.43 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.89 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9437/0.9459, allocations: 168.7 MB / 1.269 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03606/0.9819, allocations: 29.55 MB / 1.298 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.9939, allocations: 6.905 MB / 1.304 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.9956, allocations: 47.69 kB / 1.304 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.9981, allocations: 0.7032 MB / 1.305 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007047/1.005, allocations: 1.512 MB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004517/1.01, allocations: 1.157 MB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004863/1.015, allocations: 2.485 MB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/1.016, allocations: 0.6733 MB / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/1.019, allocations: 1.051 MB / 1.312 GB, free: 8.949 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/1.021, allocations: 0.8792 MB / 1.313 GB, free: 8.066 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000331/1.022, allocations: 68 kB / 1.313 GB, free: 8 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/1.024, allocations: 0.846 MB / 1.314 GB, free: 7.152 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005427/1.025, allocations: 282.8 kB / 1.314 GB, free: 6.875 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/1.026, allocations: 0.5475 MB / 1.314 GB, free: 6.324 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003857/1.03, allocations: 1.634 MB / 1.316 GB, free: 4.684 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.03, allocations: 4 kB / 1.316 GB, free: 4.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.314e-06/1.03, allocations: 0 / 1.316 GB, free: 4.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.632e-05/1.03, allocations: 0 / 1.316 GB, free: 4.68 MB / 1.014 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.00358/1.033, allocations: 1.608 MB / 1.318 GB, free: 3.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.033, allocations: 12.03 kB / 1.318 GB, free: 3.004 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001545/1.033, allocations: 114.7 kB / 1.318 GB, free: 2.883 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/1.037, allocations: 0.5931 MB / 1.318 GB, free: 2.289 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/1.039, allocations: 0.8846 MB / 1.319 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/1.039, allocations: 58.12 kB / 1.319 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/1.039, allocations: 72 kB / 1.319 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/1.042, allocations: 1.103 MB / 1.32 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/1.042, allocations: 0 / 1.32 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/1.042, allocations: 32 kB / 1.32 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/1.042, allocations: 23.98 kB / 1.32 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/1.045, allocations: 1 MB / 1.321 GB, free: 14.98 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.007484/1.053, allocations: 4.959 MB / 1.326 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/1.056, allocations: 0.8716 MB / 1.327 GB, free: 8.855 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.057, allocations: 463.1 kB / 1.327 GB, free: 8.398 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/1.059, allocations: 1.595 MB / 1.329 GB, free: 6.453 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001768/1.061, allocations: 0.569 MB / 1.33 GB, free: 5.875 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 3.677e-06/1.061, allocations: 3.938 kB / 1.33 GB, free: 5.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.005105/1.066, allocations: 1.486 MB / 1.331 GB, free: 4.379 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.066, allocations: 59.97 kB / 1.331 GB, free: 4.309 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/1.068, allocations: 1.116 MB / 1.332 GB, free: 3.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/1.068, allocations: 41.7 kB / 1.332 GB, free: 3.133 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006601/1.069, allocations: 0.5559 MB / 1.333 GB, free: 2.574 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.069, allocations: 222.2 kB / 1.333 GB, free: 2.355 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/1.069, allocations: 166.5 kB / 1.333 GB, free: 2.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.069, allocations: 337.9 kB / 1.333 GB, free: 1.848 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/1.071, allocations: 445.6 kB / 1.334 GB, free: 1.414 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/1.073, allocations: 0.7205 MB / 1.335 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/1.076, allocations: 1.117 MB / 1.336 GB, free: 15.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/1.076, allocations: 4 kB / 1.336 GB, free: 15.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004083/1.08, allocations: 1.275 MB / 1.337 GB, free: 14.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/1.08, allocations: 11.98 kB / 1.337 GB, free: 14.06 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/1.08, allocations: 8.094 kB / 1.337 GB, free: 14.05 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.382e-05/1.08, allocations: 15.94 kB / 1.337 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.082, allocations: 272.2 kB / 1.337 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.493e-05/1.082, allocations: 19.92 kB / 1.337 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/1.083, allocations: 171.2 kB / 1.337 GB, free: 13.58 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/1.083, allocations: 55.97 kB / 1.337 GB, free: 13.53 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.00068/1.084, allocations: 287.8 kB / 1.338 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/1.084, allocations: 127.1 kB / 1.338 GB, free: 13.11 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/1.089, allocations: 1.363 MB / 1.339 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/1.089, allocations: 11.94 kB / 1.339 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.089, allocations: 0 / 1.339 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.089, allocations: 3.984 kB / 1.339 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/1.095, allocations: 2.37 MB / 1.342 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.095, allocations: 4 kB / 1.342 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/1.096, allocations: 187.9 kB / 1.342 GB, free: 9.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/1.096, allocations: 4 kB / 1.342 GB, free: 9.086 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/1.096, allocations: 23.98 kB / 1.342 GB, free: 9.062 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/1.096, allocations: 15.92 kB / 1.342 GB, free: 9.047 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/1.096, allocations: 3.938 kB / 1.342 GB, free: 9.043 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005451/1.101, allocations: 1.974 MB / 1.344 GB, free: 7.039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/1.102, allocations: 288 kB / 1.344 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.102, allocations: 12 kB / 1.344 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.103, allocations: 107.9 kB / 1.344 GB, free: 6.621 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.103, allocations: 52.42 kB / 1.344 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.104, allocations: 39.97 kB / 1.344 GB, free: 6.531 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001217/1.105, allocations: 0.7677 MB / 1.345 GB, free: 5.758 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.105, allocations: 0 / 1.345 GB, free: 5.758 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001329/1.106, allocations: 343.3 kB / 1.345 GB, free: 5.422 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.008192/1.114, allocations: 3.091 MB / 1.348 GB, free: 2.457 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003742/1.118, allocations: 1.087 MB / 1.349 GB, free: 1.367 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.118, allocations: 0 / 1.349 GB, free: 1.367 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.12, allocations: 0.5423 MB / 1.35 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/1.122, allocations: 460.4 kB / 1.35 GB, free: 400 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/1.146, allocations: 9.611 MB / 1.36 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.147, allocations: 1.114 MB / 1.361 GB, free: 5.258 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001149/1.148, allocations: 244.7 kB / 1.361 GB, free: 5.016 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008361/1.149, allocations: 459.2 kB / 1.361 GB, free: 4.566 MB / 1.061 GB Notification: Performance of SimCode: time 1.402e-06/1.149, allocations: 0 / 1.361 GB, free: 4.566 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0824/1.231, allocations: 30.83 MB / 1.392 GB, free: 6.098 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.97, allocations: 15.98 kB / 1.392 GB, free: 6.082 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_2/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.323824672028422]