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.001264/0.001264, allocations: 115.9 kB / 17.17 MB, free: 5.977 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.001346/0.001346, allocations: 214.1 kB / 20.13 MB, free: 3.039 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.818/2.818, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",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.002047/0.002047, allocations: 75.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.016, allocations: 176.1 MB / 1.322 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05518/1.071, allocations: 55.25 MB / 1.375 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01852/1.089, allocations: 10.45 MB / 1.386 GB, free: 9.785 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003531/1.093, allocations: 94.69 kB / 1.386 GB, free: 9.73 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00332/1.096, allocations: 0.9263 MB / 1.387 GB, free: 9.246 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/1.104, allocations: 2.056 MB / 1.389 GB, free: 8.066 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00697/1.111, allocations: 2.007 MB / 1.391 GB, free: 7.039 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007615/1.119, allocations: 3.794 MB / 1.394 GB, free: 5.293 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/1.121, allocations: 1.012 MB / 1.395 GB, free: 4.824 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005614/1.127, allocations: 1.955 MB / 1.397 GB, free: 3.934 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/1.13, allocations: 1.259 MB / 1.398 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007151/1.131, allocations: 106.4 kB / 1.399 GB, free: 3.422 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/1.135, allocations: 1.345 MB / 1.4 GB, free: 2.902 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009874/1.136, allocations: 402.8 kB / 1.4 GB, free: 2.668 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/1.139, allocations: 0.8605 MB / 1.401 GB, free: 2.152 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007082/1.146, allocations: 2.478 MB / 1.404 GB, free: 1.184 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/1.146, allocations: 0.9062 kB / 1.404 GB, free: 1.184 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.314e-06/1.146, allocations: 0 / 1.404 GB, free: 1.184 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001218/1.146, allocations: 0 / 1.404 GB, free: 1.184 MB / 1.092 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.008102/1.154, allocations: 2.209 MB / 1.406 GB, free: 15.7 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/1.154, allocations: 13.55 kB / 1.406 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.568e-05/1.154, allocations: 28.42 kB / 1.406 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005427/1.155, allocations: 162.5 kB / 1.406 GB, free: 15.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/1.159, allocations: 0.661 MB / 1.407 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/1.163, allocations: 1.21 MB / 1.408 GB, free: 14.76 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/1.163, allocations: 85.31 kB / 1.408 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004256/1.164, allocations: 106.1 kB / 1.408 GB, free: 14.69 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004534/1.168, allocations: 1.494 MB / 1.409 GB, free: 13.9 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.949e-05/1.168, allocations: 6.25 kB / 1.409 GB, free: 13.9 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/1.168, allocations: 45.89 kB / 1.409 GB, free: 13.87 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/1.168, allocations: 27.53 kB / 1.409 GB, free: 13.87 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0045/1.173, allocations: 1.227 MB / 1.411 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/1.186, allocations: 8.394 MB / 1.419 GB, free: 6.586 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003871/1.19, allocations: 1.055 MB / 1.42 GB, free: 6.285 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/1.192, allocations: 0.5281 MB / 1.42 GB, free: 6.129 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/1.195, allocations: 2.894 MB / 1.423 GB, free: 2.797 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002263/1.197, allocations: 0.6726 MB / 1.424 GB, free: 2.586 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 4.118e-06/1.197, allocations: 0 / 1.424 GB, free: 2.586 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.006399/1.203, allocations: 1.803 MB / 1.426 GB, free: 1.805 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/1.203, allocations: 65.12 kB / 1.426 GB, free: 1.734 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/1.207, allocations: 1.518 MB / 1.427 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002018/1.207, allocations: 43.52 kB / 1.427 GB, free: 0.918 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008374/1.208, allocations: 0.812 MB / 1.428 GB, free: 200 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/1.208, allocations: 304.3 kB / 1.428 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005047/1.209, allocations: 228 kB / 1.429 GB, free: 15.8 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.209, allocations: 348.5 kB / 1.429 GB, free: 15.46 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.211, allocations: 0.5182 MB / 1.429 GB, free: 15.21 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.213, allocations: 0.8992 MB / 1.43 GB, free: 14.48 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00407/1.217, allocations: 1.415 MB / 1.432 GB, free: 13.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/1.217, allocations: 8.188 kB / 1.432 GB, free: 13.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.005464/1.222, allocations: 1.611 MB / 1.433 GB, free: 12.71 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.222, allocations: 9.156 kB / 1.433 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.222, allocations: 20.03 kB / 1.433 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/1.223, allocations: 17.56 kB / 1.433 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.224, allocations: 346.8 kB / 1.434 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.08e-05/1.224, allocations: 28.52 kB / 1.434 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.226, allocations: 223.5 kB / 1.434 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/1.227, allocations: 72.08 kB / 1.434 GB, free: 12.43 MB / 1.123 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.001017/1.228, allocations: 340.8 kB / 1.434 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007417/1.228, allocations: 181.8 kB / 1.434 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00612/1.234, allocations: 2.092 MB / 1.436 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.358e-05/1.234, allocations: 20.39 kB / 1.436 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/1.234, allocations: 3.938 kB / 1.436 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.235, allocations: 7.969 kB / 1.436 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00936/1.244, allocations: 3.301 MB / 1.44 GB, free: 8.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.244, allocations: 1.188 kB / 1.44 GB, free: 8.883 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.245, allocations: 227.1 kB / 1.44 GB, free: 8.812 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.91e-05/1.245, allocations: 6.312 kB / 1.44 GB, free: 8.812 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/1.245, allocations: 36.7 kB / 1.44 GB, free: 8.789 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/1.245, allocations: 9.469 kB / 1.44 GB, free: 8.785 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.245, allocations: 2.531 kB / 1.44 GB, free: 8.785 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007363/1.253, allocations: 2.711 MB / 1.443 GB, free: 7.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.254, allocations: 396.5 kB / 1.443 GB, free: 6.984 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/1.254, allocations: 18.47 kB / 1.443 GB, free: 6.973 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.256, allocations: 121.9 kB / 1.443 GB, free: 6.914 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.256, allocations: 73.05 kB / 1.443 GB, free: 6.879 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/1.256, allocations: 47.19 kB / 1.443 GB, free: 6.863 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002033/1.258, allocations: 1.035 MB / 1.444 GB, free: 6.336 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.258, allocations: 1.188 kB / 1.444 GB, free: 6.336 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002545/1.261, allocations: 0.5396 MB / 1.445 GB, free: 6.199 MB / 1.123 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.01067/1.271, allocations: 3.99 MB / 1.449 GB, free: 3.898 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004652/1.276, allocations: 1.41 MB / 1.45 GB, free: 3.27 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.276, allocations: 1.094 kB / 1.45 GB, free: 3.27 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.278, allocations: 0.744 MB / 1.451 GB, free: 2.926 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004397/1.283, allocations: 0.7422 MB / 1.451 GB, free: 2.516 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/1.311, allocations: 12.67 MB / 1.464 GB, free: 5.473 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.312, allocations: 1.313 MB / 1.465 GB, free: 4.133 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00155/1.313, allocations: 380.9 kB / 1.465 GB, free: 3.754 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.315, allocations: 0.7101 MB / 1.466 GB, free: 3.043 MB / 1.139 GB Notification: Performance of SimCode: time 9.31e-07/1.315, allocations: 0 / 1.466 GB, free: 3.043 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09408/1.409, allocations: 47.91 MB / 1.513 GB, free: 3.703 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.46, allocations: 8.812 kB / 1.513 GB, free: 3.699 MB / 1.186 GB " [Timeout remaining time 286] (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: 20.02605439099716]