Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001769/0.001769, allocations: 106.6 kB / 16.45 MB, free: 6.035 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.001964/0.001964, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 79.81 kB / 1.056 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8952/0.8972, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04058/0.9378, allocations: 29.56 MB / 1.242 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.9496, allocations: 6.89 MB / 1.249 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.9512, allocations: 47.69 kB / 1.249 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.953, allocations: 0.7031 MB / 1.249 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.9573, allocations: 1.516 MB / 1.251 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.9604, allocations: 1.155 MB / 1.252 GB, free: 196 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.9643, allocations: 2.481 MB / 1.254 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.9658, allocations: 0.6889 MB / 1.255 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.9682, allocations: 1.047 MB / 1.256 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.9699, allocations: 0.8675 MB / 1.257 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.9704, allocations: 68 kB / 1.257 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.9729, allocations: 0.846 MB / 1.258 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.9734, allocations: 282.8 kB / 1.258 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.9745, allocations: 0.5514 MB / 1.259 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004129/0.9786, allocations: 1.63 MB / 1.26 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.9786, allocations: 8 kB / 1.26 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9786, allocations: 0 / 1.26 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.469e-05/0.9787, allocations: 0 / 1.26 GB, free: 7.688 MB / 0.9669 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.003772/0.9825, allocations: 1.608 MB / 1.262 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.9825, allocations: 12.62 kB / 1.262 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.9827, allocations: 114.7 kB / 1.262 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.9863, allocations: 0.5931 MB / 1.262 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.9883, allocations: 0.8807 MB / 1.263 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.9884, allocations: 62.12 kB / 1.263 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/0.9886, allocations: 72 kB / 1.263 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.9915, allocations: 1.099 MB / 1.264 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.9915, allocations: 0 / 1.264 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.9917, allocations: 32 kB / 1.265 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.9917, allocations: 20 kB / 1.265 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.995, allocations: 1 MB / 1.265 GB, free: 1.992 MB / 0.9669 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.007839/1.003, allocations: 4.955 MB / 1.27 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/1.006, allocations: 0.8693 MB / 1.271 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/1.008, allocations: 468.1 kB / 1.272 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/1.009, allocations: 1.587 MB / 1.273 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/1.011, allocations: 0.5768 MB / 1.274 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=61): time 4.568e-06/1.011, allocations: 0 / 1.274 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=61): time 0.00533/1.017, allocations: 1.485 MB / 1.275 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/1.017, allocations: 67.97 kB / 1.275 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/1.019, allocations: 1.112 MB / 1.276 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002461/1.019, allocations: 41.69 kB / 1.276 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/1.02, allocations: 0.552 MB / 1.277 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/1.02, allocations: 226.2 kB / 1.277 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/1.02, allocations: 158.6 kB / 1.277 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001759/1.021, allocations: 337.9 kB / 1.278 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.022, allocations: 453.6 kB / 1.278 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/1.024, allocations: 0.7166 MB / 1.279 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003348/1.028, allocations: 1.117 MB / 1.28 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.028, allocations: 4 kB / 1.28 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004167/1.032, allocations: 1.278 MB / 1.281 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/1.032, allocations: 8.938 kB / 1.281 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/1.032, allocations: 8 kB / 1.281 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/1.032, allocations: 16 kB / 1.281 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.033, allocations: 267.6 kB / 1.281 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.713e-05/1.033, allocations: 19.92 kB / 1.281 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.035, allocations: 175.3 kB / 1.282 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/1.035, allocations: 47.97 kB / 1.282 GB, free: 0.5547 MB / 0.9825 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.0006861/1.035, allocations: 287.8 kB / 1.282 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/1.036, allocations: 135.1 kB / 1.282 GB, free: 132 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/1.04, allocations: 1.367 MB / 1.283 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.04, allocations: 12 kB / 1.283 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.04, allocations: 7.922 kB / 1.283 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.04, allocations: 7.984 kB / 1.283 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006264/1.047, allocations: 2.362 MB / 1.286 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.047, allocations: 4 kB / 1.286 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.048, allocations: 183.9 kB / 1.286 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/1.048, allocations: 4 kB / 1.286 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/1.048, allocations: 31.97 kB / 1.286 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.048, allocations: 7.938 kB / 1.286 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.048, allocations: 7.922 kB / 1.286 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/1.054, allocations: 1.978 MB / 1.288 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/1.054, allocations: 288 kB / 1.288 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/1.055, allocations: 16 kB / 1.288 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.056, allocations: 107.9 kB / 1.288 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.056, allocations: 52.44 kB / 1.288 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.056, allocations: 35.97 kB / 1.288 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001439/1.058, allocations: 0.7678 MB / 1.289 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.058, allocations: 3.938 kB / 1.289 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001602/1.059, allocations: 343.3 kB / 1.289 GB, free: 8.418 MB / 0.9981 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.008272/1.067, allocations: 3.097 MB / 1.292 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003735/1.071, allocations: 1.087 MB / 1.293 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.071, allocations: 0 / 1.293 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.073, allocations: 0.5423 MB / 1.294 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.075, allocations: 447.4 kB / 1.294 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.097, allocations: 9.611 MB / 1.304 GB, free: 9.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009683/1.098, allocations: 1.104 MB / 1.305 GB, free: 8.285 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001045/1.099, allocations: 248.6 kB / 1.305 GB, free: 8.039 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/1.1, allocations: 463.2 kB / 1.306 GB, free: 7.586 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.1, allocations: 0 / 1.306 GB, free: 7.586 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/1.184, allocations: 30.83 MB / 1.336 GB, free: 9.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.58, allocations: 13.89 kB / 1.336 GB, free: 8.992 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.84057246427983]