Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.00163/0.00163, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001955/0.001955, allocations: 216.9 kB / 22.24 MB, free: 4.855 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.008 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.711/2.711, allocations: 476 MB / 0.7699 GB, free: 4.73 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,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",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.002125/0.002125, allocations: 64.23 kB / 1.117 GB, free: 40.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 170 MB / 1.283 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2121/0.5612, allocations: 171.4 MB / 1.45 GB, free: 236 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.009515/0.5707, allocations: 5.008 MB / 1.455 GB, free: 11.21 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.5718, allocations: 67.38 kB / 1.455 GB, free: 11.15 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.5738, allocations: 0.8081 MB / 1.456 GB, free: 10.34 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006734/0.5805, allocations: 2.723 MB / 1.458 GB, free: 7.602 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002649/0.5831, allocations: 1.037 MB / 1.459 GB, free: 6.566 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003701/0.5868, allocations: 2.726 MB / 1.462 GB, free: 3.828 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.5881, allocations: 0.7579 MB / 1.463 GB, free: 3.059 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.5902, allocations: 1.16 MB / 1.464 GB, free: 1.895 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.5918, allocations: 1.027 MB / 1.465 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.5919, allocations: 88 kB / 1.465 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.5952, allocations: 1.492 MB / 1.466 GB, free: 15.28 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.5957, allocations: 466.5 kB / 1.467 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.5964, allocations: 0.5479 MB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.5999, allocations: 2.183 MB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5999, allocations: 3.938 kB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5999, allocations: 0 / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.5999, allocations: 0 / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005133/0.605, allocations: 1.95 MB / 1.471 GB, free: 10.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6051, allocations: 12.03 kB / 1.471 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.6053, allocations: 143.6 kB / 1.472 GB, free: 9.93 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005579/0.6108, allocations: 0.908 MB / 1.473 GB, free: 9.02 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.6128, allocations: 0.8879 MB / 1.473 GB, free: 8.086 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.002e-05/0.6129, allocations: 70 kB / 1.473 GB, free: 8.016 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.6131, allocations: 88 kB / 1.474 GB, free: 7.93 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.6171, allocations: 1.591 MB / 1.475 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.6171, allocations: 3.938 kB / 1.475 GB, free: 6.305 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.6172, allocations: 36 kB / 1.475 GB, free: 6.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.528e-05/0.6172, allocations: 45.98 kB / 1.475 GB, free: 6.223 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005553/0.6228, allocations: 1.862 MB / 1.477 GB, free: 4.363 MB / 1.17 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.008464/0.6313, allocations: 3.968 MB / 1.481 GB, free: 296 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/0.6361, allocations: 1.515 MB / 1.482 GB, free: 14.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002453/0.6386, allocations: 0.8279 MB / 1.483 GB, free: 13.94 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009811/0.6396, allocations: 204.8 kB / 1.483 GB, free: 13.74 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002665/0.6422, allocations: 0.9183 MB / 1.484 GB, free: 12.81 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 3.246e-06/0.6422, allocations: 0 / 1.484 GB, free: 12.81 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.008403/0.6507, allocations: 2.482 MB / 1.487 GB, free: 10.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.6507, allocations: 60.41 kB / 1.487 GB, free: 10.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6524, allocations: 1.257 MB / 1.488 GB, free: 8.98 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.6525, allocations: 53.69 kB / 1.488 GB, free: 8.922 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005256/0.653, allocations: 0.5611 MB / 1.489 GB, free: 8.355 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.6534, allocations: 341.1 kB / 1.489 GB, free: 8.02 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.6537, allocations: 186.6 kB / 1.489 GB, free: 7.832 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002257/0.654, allocations: 341.9 kB / 1.489 GB, free: 7.492 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.6563, allocations: 0.7006 MB / 1.49 GB, free: 6.789 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.659, allocations: 1.149 MB / 1.491 GB, free: 5.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/0.6637, allocations: 1.569 MB / 1.493 GB, free: 3.891 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6637, allocations: 0 / 1.493 GB, free: 3.891 MB / 1.186 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005526/0.6692, allocations: 1.796 MB / 1.494 GB, free: 2.086 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.6692, allocations: 12.09 kB / 1.494 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.6693, allocations: 4 kB / 1.494 GB, free: 2.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.02e-05/0.6693, allocations: 8 kB / 1.494 GB, free: 2.062 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.6711, allocations: 343.5 kB / 1.495 GB, free: 1.727 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.6711, allocations: 11.94 kB / 1.495 GB, free: 1.715 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.6728, allocations: 243 kB / 1.495 GB, free: 1.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.6729, allocations: 47.97 kB / 1.495 GB, free: 1.43 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006061/0.6735, allocations: 340 kB / 1.495 GB, free: 1.09 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002443/0.6737, allocations: 147.1 kB / 1.496 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005566/0.6793, allocations: 1.858 MB / 1.497 GB, free: 15.08 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6793, allocations: 8 kB / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6793, allocations: 0 / 1.497 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6793, allocations: 11.98 kB / 1.497 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008121/0.6875, allocations: 3.224 MB / 1.501 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.537e-06/0.6875, allocations: 4 kB / 1.501 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.6893, allocations: 303.7 kB / 1.501 GB, free: 11.44 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.6893, allocations: 8 kB / 1.501 GB, free: 11.43 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/0.6894, allocations: 32.06 kB / 1.501 GB, free: 11.4 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.6894, allocations: 15.92 kB / 1.501 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.6894, allocations: 7.938 kB / 1.501 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008062/0.6975, allocations: 2.925 MB / 1.504 GB, free: 8.391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.6982, allocations: 258.8 kB / 1.504 GB, free: 8.137 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.6984, allocations: 23.98 kB / 1.504 GB, free: 8.113 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.6998, allocations: 163.8 kB / 1.504 GB, free: 7.953 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.7001, allocations: 76.75 kB / 1.504 GB, free: 7.879 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.7002, allocations: 43.97 kB / 1.504 GB, free: 7.836 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001261/0.7014, allocations: 0.8751 MB / 1.505 GB, free: 6.957 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7014, allocations: 0 / 1.505 GB, free: 6.957 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001051/0.7025, allocations: 343.7 kB / 1.505 GB, free: 6.621 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01064/0.7131, allocations: 3.926 MB / 1.509 GB, free: 2.805 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005206/0.7183, allocations: 1.613 MB / 1.511 GB, free: 1.191 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7183, allocations: 256 / 1.511 GB, free: 1.191 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002601/0.7209, allocations: 0.8378 MB / 1.512 GB, free: 364 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002944/0.7239, allocations: 0.6162 MB / 1.512 GB, free: 15.75 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.7505, allocations: 12.25 MB / 1.524 GB, free: 3.168 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007775/0.7513, allocations: 0.6074 MB / 1.525 GB, free: 2.523 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001571/0.7528, allocations: 369.9 kB / 1.525 GB, free: 2.16 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/0.7537, allocations: 0.511 MB / 1.526 GB, free: 1.648 MB / 1.217 GB Notification: Performance of SimCode: time 8.62e-07/0.7537, allocations: 0 / 1.526 GB, free: 1.648 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08751/0.8412, allocations: 39.44 MB / 1.564 GB, free: 10.85 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.72, allocations: 4.062 kB / 1.564 GB, free: 10.84 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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: 20.519077775999904]