Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001588/0.001588, allocations: 102.5 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.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.001722/0.001722, allocations: 212.9 kB / 19.43 MB, free: 3.652 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7916 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001971/0.001971, allocations: 64.34 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.306, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06468/0.3707, allocations: 55.26 MB / 1.375 GB, free: 11.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.387, allocations: 10.46 MB / 1.385 GB, free: 1.363 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.3892, allocations: 95.12 kB / 1.385 GB, free: 1.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002595/0.3918, allocations: 0.9202 MB / 1.386 GB, free: 352 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005736/0.3976, allocations: 2.054 MB / 1.388 GB, free: 14.28 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005144/0.4027, allocations: 2.016 MB / 1.39 GB, free: 12.26 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005515/0.4082, allocations: 3.796 MB / 1.394 GB, free: 8.453 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.4101, allocations: 1.005 MB / 1.395 GB, free: 7.418 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.4144, allocations: 1.961 MB / 1.397 GB, free: 5.449 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002288/0.4167, allocations: 1.26 MB / 1.398 GB, free: 4.184 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.417, allocations: 104 kB / 1.398 GB, free: 4.082 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003114/0.4201, allocations: 1.337 MB / 1.399 GB, free: 2.742 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005376/0.4207, allocations: 402.2 kB / 1.4 GB, free: 2.348 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001298/0.422, allocations: 0.8586 MB / 1.4 GB, free: 1.484 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.4267, allocations: 2.471 MB / 1.403 GB, free: 15 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4267, allocations: 0 / 1.403 GB, free: 15 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4267, allocations: 0 / 1.403 GB, free: 15 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.887e-05/0.4267, allocations: 4 kB / 1.403 GB, free: 15 MB / 1.107 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.004373/0.4311, allocations: 2.209 MB / 1.405 GB, free: 12.72 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4311, allocations: 15.98 kB / 1.405 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.4314, allocations: 160.8 kB / 1.405 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/0.4351, allocations: 0.666 MB / 1.406 GB, free: 11.87 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.4376, allocations: 1.205 MB / 1.407 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.4377, allocations: 94.06 kB / 1.407 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.4379, allocations: 108 kB / 1.407 GB, free: 10.41 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.4415, allocations: 1.496 MB / 1.409 GB, free: 8.758 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4415, allocations: 3.938 kB / 1.409 GB, free: 8.754 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.4416, allocations: 44 kB / 1.409 GB, free: 8.711 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.4416, allocations: 32 kB / 1.409 GB, free: 8.68 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/0.4455, allocations: 1.225 MB / 1.41 GB, free: 7.453 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.4566, allocations: 8.387 MB / 1.418 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003731/0.4603, allocations: 1.05 MB / 1.419 GB, free: 13.41 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/0.4621, allocations: 0.5258 MB / 1.42 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002761/0.4649, allocations: 2.898 MB / 1.423 GB, free: 9.328 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/0.4671, allocations: 0.6683 MB / 1.423 GB, free: 8.648 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 4.017e-06/0.4671, allocations: 0 / 1.423 GB, free: 8.648 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.005784/0.4729, allocations: 1.807 MB / 1.425 GB, free: 6.836 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.473, allocations: 60.41 kB / 1.425 GB, free: 6.766 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.4751, allocations: 1.522 MB / 1.426 GB, free: 5.238 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.4752, allocations: 41.7 kB / 1.427 GB, free: 5.191 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007052/0.4759, allocations: 0.8117 MB / 1.427 GB, free: 4.371 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.4763, allocations: 313.4 kB / 1.428 GB, free: 4.062 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.4766, allocations: 226.8 kB / 1.428 GB, free: 3.836 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4768, allocations: 349.9 kB / 1.428 GB, free: 3.488 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.4784, allocations: 0.5178 MB / 1.429 GB, free: 2.969 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.4805, allocations: 0.8915 MB / 1.43 GB, free: 1.918 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003639/0.4841, allocations: 1.422 MB / 1.431 GB, free: 348 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.4841, allocations: 4 kB / 1.431 GB, free: 344 kB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004476/0.4886, allocations: 1.62 MB / 1.432 GB, free: 14.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4886, allocations: 8 kB / 1.433 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.4886, allocations: 12 kB / 1.433 GB, free: 14.69 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.4887, allocations: 16.81 kB / 1.433 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.4901, allocations: 347.5 kB / 1.433 GB, free: 14.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.4902, allocations: 27.86 kB / 1.433 GB, free: 14.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4917, allocations: 226.8 kB / 1.433 GB, free: 14.08 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.4919, allocations: 67.97 kB / 1.433 GB, free: 14.02 MB / 1.139 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.0008772/0.4928, allocations: 339.7 kB / 1.433 GB, free: 13.67 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005531/0.4933, allocations: 174.9 kB / 1.434 GB, free: 13.5 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005255/0.4986, allocations: 2.097 MB / 1.436 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/0.4986, allocations: 23.92 kB / 1.436 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4986, allocations: 0 / 1.436 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4986, allocations: 11.92 kB / 1.436 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006904/0.5055, allocations: 3.287 MB / 1.439 GB, free: 7.996 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.5056, allocations: 8.172 kB / 1.439 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.5067, allocations: 235.7 kB / 1.439 GB, free: 7.758 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.5068, allocations: 8 kB / 1.439 GB, free: 7.75 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.926e-05/0.5069, allocations: 35.95 kB / 1.439 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.5069, allocations: 4 kB / 1.439 GB, free: 7.711 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5069, allocations: 7.938 kB / 1.439 GB, free: 7.703 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006606/0.5135, allocations: 2.702 MB / 1.442 GB, free: 4.965 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007054/0.5142, allocations: 395.4 kB / 1.442 GB, free: 4.559 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/0.5144, allocations: 23.98 kB / 1.442 GB, free: 4.535 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.5155, allocations: 123.9 kB / 1.442 GB, free: 4.414 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.5157, allocations: 76.83 kB / 1.442 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.5158, allocations: 47.97 kB / 1.443 GB, free: 4.293 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001478/0.5172, allocations: 1.023 MB / 1.444 GB, free: 3.277 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5172, allocations: 4 kB / 1.444 GB, free: 3.273 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001612/0.5189, allocations: 0.5457 MB / 1.444 GB, free: 2.727 MB / 1.139 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 (110): * Single equations (assignments): 79 * 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.009182/0.528, allocations: 3.974 MB / 1.448 GB, free: 14.87 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004225/0.5323, allocations: 1.424 MB / 1.449 GB, free: 13.45 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5323, allocations: 0 / 1.449 GB, free: 13.45 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.5344, allocations: 0.7441 MB / 1.45 GB, free: 12.7 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/0.5378, allocations: 0.7334 MB / 1.451 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/0.563, allocations: 12.67 MB / 1.463 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.5641, allocations: 1.309 MB / 1.464 GB, free: 13.44 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001383/0.5654, allocations: 376.9 kB / 1.465 GB, free: 13.06 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.5666, allocations: 0.7139 MB / 1.465 GB, free: 12.35 MB / 1.17 GB Notification: Performance of SimCode: time 9.02e-07/0.5666, allocations: 0 / 1.465 GB, free: 12.35 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0971/0.6637, allocations: 47.88 MB / 1.512 GB, free: 13.04 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.57, allocations: 3.984 kB / 1.512 GB, free: 13.04 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.228152140975]