Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001835/0.001835, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001947/0.001947, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.415/3.415, allocations: 429.5 MB / 0.6729 GB, free: 3.984 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow|THeaHigPowIn.T|THeaHigPowOut.T|TCooLimPowIn.T|TCooLimPowOut.T|THeaCooUnlIn.T|THeaCooUnlOut.T|TSteStaIn.T|TSteStaOut.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.8775 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.38e-05/4.578e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.07376/0.07381, allocations: 56.48 MB / 0.9326 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.01949/0.0933, allocations: 10.7 MB / 0.9431 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/0.09693, allocations: 87.19 kB / 0.9432 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.1009, allocations: 0.9122 MB / 0.9441 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.111, allocations: 2.129 MB / 0.9461 GB, free: 116 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.007664/0.1186, allocations: 2.118 MB / 0.9482 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.007688/0.1263, allocations: 3.764 MB / 0.9519 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.1289, allocations: 0.9881 MB / 0.9529 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006871/0.1358, allocations: 2.437 MB / 0.9552 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.1388, allocations: 1.059 MB / 0.9563 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.1392, allocations: 108 kB / 0.9564 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.1429, allocations: 1.048 MB / 0.9574 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006403/0.1436, allocations: 422.2 kB / 0.9578 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.145, allocations: 0.5726 MB / 0.9584 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.006267/0.1513, allocations: 2.43 MB / 0.9607 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1513, allocations: 0 / 0.9607 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1513, allocations: 0 / 0.9607 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.1513, allocations: 3.938 kB / 0.9607 GB, free: 1.102 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004894/0.1562, allocations: 2.293 MB / 0.963 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.1563, allocations: 8.031 kB / 0.963 GB, free: 14.74 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.1598, allocations: 0.6388 MB / 0.9636 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/0.1624, allocations: 1.121 MB / 0.9647 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1625, allocations: 82.14 kB / 0.9648 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.1627, allocations: 108 kB / 0.9649 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.1664, allocations: 1.556 MB / 0.9664 GB, free: 10.99 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.1664, allocations: 3.938 kB / 0.9664 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.1665, allocations: 44 kB / 0.9664 GB, free: 10.94 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.1666, allocations: 32 kB / 0.9665 GB, free: 10.91 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.1696, allocations: 1.05 MB / 0.9675 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.1824, allocations: 8.404 MB / 0.9757 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.1855, allocations: 0.9228 MB / 0.9766 GB, free: 252 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.1867, allocations: 441.4 kB / 0.977 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.1878, allocations: 286.2 kB / 0.9773 GB, free: 15.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.1894, allocations: 0.5919 MB / 0.9779 GB, free: 14.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/0.1894, allocations: 0 / 0.9779 GB, free: 14.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.004861/0.1942, allocations: 1.534 MB / 0.9794 GB, free: 13.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.1943, allocations: 60.41 kB / 0.9794 GB, free: 13.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.1969, allocations: 1.496 MB / 0.9809 GB, free: 11.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.197, allocations: 45.7 kB / 0.9809 GB, free: 11.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.1981, allocations: 0.9083 MB / 0.9818 GB, free: 10.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.1985, allocations: 325.4 kB / 0.9821 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/0.1989, allocations: 244.5 kB / 0.9824 GB, free: 10.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003506/0.1993, allocations: 0.5433 MB / 0.9829 GB, free: 9.703 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.2006, allocations: 434.3 kB / 0.9833 GB, free: 9.281 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.2027, allocations: 1.202 MB / 0.9845 GB, free: 7.793 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003248/0.206, allocations: 1.373 MB / 0.9858 GB, free: 6.211 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.206, allocations: 4 kB / 0.9858 GB, free: 6.207 MB / 0.948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004241/0.2102, allocations: 1.457 MB / 0.9873 GB, free: 4.738 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2102, allocations: 15.94 kB / 0.9873 GB, free: 4.723 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.2103, allocations: 8 kB / 0.9873 GB, free: 4.715 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.483e-05/0.2103, allocations: 20 kB / 0.9873 GB, free: 4.695 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.2117, allocations: 312.1 kB / 0.9876 GB, free: 4.391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.088e-05/0.2117, allocations: 23.92 kB / 0.9876 GB, free: 4.367 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.2131, allocations: 163.1 kB / 0.9878 GB, free: 4.207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.2133, allocations: 63.97 kB / 0.9878 GB, free: 4.145 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0007202/0.214, allocations: 346 kB / 0.9882 GB, free: 3.797 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.2145, allocations: 187 kB / 0.9883 GB, free: 3.613 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.2191, allocations: 1.763 MB / 0.9901 GB, free: 1.84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.2192, allocations: 19.98 kB / 0.9901 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2192, allocations: 0 / 0.9901 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.2192, allocations: 7.969 kB / 0.9901 GB, free: 1.812 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006796/0.226, allocations: 2.883 MB / 0.9929 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.226, allocations: 8.031 kB / 0.9929 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.2271, allocations: 191.7 kB / 0.9931 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.2271, allocations: 12 kB / 0.9931 GB, free: 14.65 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.2272, allocations: 39.97 kB / 0.9931 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.602e-05/0.2272, allocations: 8 kB / 0.9932 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.2273, allocations: 3.938 kB / 0.9932 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005937/0.2332, allocations: 2.239 MB / 0.9953 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000902/0.2341, allocations: 302.3 kB / 0.9956 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.2343, allocations: 24.03 kB / 0.9957 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.2352, allocations: 87.84 kB / 0.9957 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.2354, allocations: 84.73 kB / 0.9958 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.2355, allocations: 51.95 kB / 0.9959 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001482/0.237, allocations: 0.8774 MB / 0.9967 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.11e-07/0.237, allocations: 0 / 0.9967 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001955/0.239, allocations: 0.569 MB / 0.9973 GB, free: 10.32 MB / 0.9636 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.003992/0.243, allocations: 0.8654 MB / 0.9981 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.2467, allocations: 1.226 MB / 0.9993 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2467, allocations: 0 / 0.9993 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.2485, allocations: 0.6528 MB / 1 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/0.2518, allocations: 0.6098 MB / 1.001 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/0.2577, allocations: 2.875 MB / 1.003 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/0.2586, allocations: 0.7147 MB / 1.004 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001339/0.2599, allocations: 327.2 kB / 1.004 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.2604, allocations: 160.3 kB / 1.005 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of SimCode: time 1.633e-06/0.2604, allocations: 4 kB / 1.005 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of Templates: time 0.06123/0.3216, allocations: 30.11 MB / 1.034 GB, free: 5.496 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.196060079033487]