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.00146/0.00146, allocations: 117.4 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.00145/0.00145, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 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 2.868/2.868, allocations: 0.5003 GB / 0.8026 GB, free: 6.887 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_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.001973/0.001973, allocations: 63.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9929/0.9949, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05693/1.052, allocations: 55.26 MB / 1.394 GB, free: 8.793 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01836/1.07, allocations: 10.45 MB / 1.404 GB, free: 1.355 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003334/1.073, allocations: 94.47 kB / 1.404 GB, free: 1.301 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/1.076, allocations: 0.923 MB / 1.405 GB, free: 0.8203 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00732/1.084, allocations: 2.059 MB / 1.407 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.008117/1.092, allocations: 2.01 MB / 1.409 GB, free: 14.61 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007871/1.1, allocations: 3.782 MB / 1.413 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/1.102, allocations: 1.018 MB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005399/1.107, allocations: 1.958 MB / 1.416 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/1.111, allocations: 1.263 MB / 1.417 GB, free: 11 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006892/1.111, allocations: 106 kB / 1.417 GB, free: 11 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004765/1.116, allocations: 1.344 MB / 1.419 GB, free: 10.34 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007955/1.117, allocations: 398.9 kB / 1.419 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/1.119, allocations: 0.8547 MB / 1.42 GB, free: 9.488 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005417/1.124, allocations: 2.48 MB / 1.422 GB, free: 7.918 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.124, allocations: 0 / 1.422 GB, free: 7.918 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.382e-06/1.124, allocations: 4 kB / 1.422 GB, free: 7.914 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.788e-05/1.124, allocations: 5 kB / 1.422 GB, free: 7.91 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.004616/1.129, allocations: 2.204 MB / 1.424 GB, free: 6.227 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.129, allocations: 13.91 kB / 1.424 GB, free: 6.223 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.288e-05/1.129, allocations: 27.3 kB / 1.424 GB, free: 6.219 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/1.129, allocations: 168 kB / 1.425 GB, free: 6.078 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/1.133, allocations: 0.6621 MB / 1.425 GB, free: 5.766 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/1.136, allocations: 1.209 MB / 1.426 GB, free: 4.836 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/1.136, allocations: 83.23 kB / 1.426 GB, free: 4.797 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/1.136, allocations: 113.4 kB / 1.427 GB, free: 4.758 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/1.14, allocations: 1.491 MB / 1.428 GB, free: 3.68 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.14, allocations: 6.094 kB / 1.428 GB, free: 3.676 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.14, allocations: 48.34 kB / 1.428 GB, free: 3.641 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/1.14, allocations: 28.72 kB / 1.428 GB, free: 3.641 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/1.144, allocations: 1.218 MB / 1.429 GB, free: 3.066 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/1.154, allocations: 8.398 MB / 1.437 GB, free: 11.24 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/1.158, allocations: 1.051 MB / 1.439 GB, free: 10.74 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/1.159, allocations: 0.5277 MB / 1.439 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002655/1.162, allocations: 2.9 MB / 1.442 GB, free: 7.074 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/1.164, allocations: 0.6715 MB / 1.443 GB, free: 6.688 MB / 1.123 GB Notification: Performance of pre-optimization done (n=85): time 2.775e-06/1.164, allocations: 0 / 1.443 GB, free: 6.688 MB / 1.123 GB Notification: Performance of matching and sorting (n=85): time 0.005884/1.17, allocations: 1.798 MB / 1.444 GB, free: 5.824 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/1.17, allocations: 60.38 kB / 1.444 GB, free: 5.758 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/1.172, allocations: 1.526 MB / 1.446 GB, free: 4.977 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/1.172, allocations: 44.05 kB / 1.446 GB, free: 4.934 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007376/1.173, allocations: 0.8076 MB / 1.447 GB, free: 4.215 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/1.174, allocations: 308.9 kB / 1.447 GB, free: 3.949 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/1.174, allocations: 223.6 kB / 1.447 GB, free: 3.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001921/1.174, allocations: 352.1 kB / 1.447 GB, free: 3.48 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/1.176, allocations: 0.5145 MB / 1.448 GB, free: 3.238 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.178, allocations: 0.8996 MB / 1.449 GB, free: 2.508 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/1.181, allocations: 1.41 MB / 1.45 GB, free: 1.531 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/1.181, allocations: 4.438 kB / 1.45 GB, free: 1.531 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004568/1.186, allocations: 1.622 MB / 1.452 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.186, allocations: 11.88 kB / 1.452 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.186, allocations: 10.88 kB / 1.452 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/1.186, allocations: 16.69 kB / 1.452 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.188, allocations: 348.3 kB / 1.452 GB, free: 0.625 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.054e-05/1.188, allocations: 28.7 kB / 1.452 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.189, allocations: 227.9 kB / 1.452 GB, free: 492 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.189, allocations: 63.62 kB / 1.453 GB, free: 476 kB / 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.0006482/1.19, allocations: 345.1 kB / 1.453 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/1.19, allocations: 176.9 kB / 1.453 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/1.196, allocations: 2.101 MB / 1.455 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/1.196, allocations: 23.84 kB / 1.455 GB, free: 14.99 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.196, allocations: 7.875 kB / 1.455 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.196, allocations: 5.453 kB / 1.455 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/1.203, allocations: 3.292 MB / 1.458 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/1.203, allocations: 1.625 kB / 1.458 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/1.204, allocations: 231.1 kB / 1.459 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/1.204, allocations: 5.156 kB / 1.459 GB, free: 12.84 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/1.204, allocations: 38.41 kB / 1.459 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/1.204, allocations: 8.984 kB / 1.459 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.204, allocations: 1.781 kB / 1.459 GB, free: 12.81 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/1.211, allocations: 2.707 MB / 1.461 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009202/1.212, allocations: 395.4 kB / 1.462 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/1.212, allocations: 27.98 kB / 1.462 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.213, allocations: 115.9 kB / 1.462 GB, free: 9.941 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/1.213, allocations: 80.83 kB / 1.462 GB, free: 9.863 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.214, allocations: 51.95 kB / 1.462 GB, free: 9.812 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001616/1.215, allocations: 1.023 MB / 1.463 GB, free: 8.797 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.215, allocations: 0 / 1.463 GB, free: 8.797 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00192/1.217, allocations: 0.5457 MB / 1.463 GB, free: 8.25 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.009532/1.227, allocations: 3.987 MB / 1.467 GB, free: 4.387 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004328/1.231, allocations: 1.412 MB / 1.469 GB, free: 2.977 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.231, allocations: 0 / 1.469 GB, free: 2.977 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.233, allocations: 0.7519 MB / 1.469 GB, free: 2.223 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/1.237, allocations: 0.726 MB / 1.47 GB, free: 1.508 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.262, allocations: 12.67 MB / 1.482 GB, free: 4.297 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.263, allocations: 1.309 MB / 1.484 GB, free: 2.953 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00147/1.265, allocations: 372.9 kB / 1.484 GB, free: 2.582 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.266, allocations: 0.7218 MB / 1.485 GB, free: 1.859 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/1.266, allocations: 3.938 kB / 1.485 GB, free: 1.855 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09427/1.36, allocations: 47.91 MB / 1.532 GB, free: 2.523 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.31, allocations: 13.36 kB / 1.532 GB, free: 2.512 MB / 1.201 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 19.88564575801138]