Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001634/0.001634, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.312/1.312, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] 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.917/2.917, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.002164/0.002164, allocations: 78.08 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2973, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2455/0.5428, allocations: 214.7 MB / 1.573 GB, free: 6.57 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.5559, allocations: 8.056 MB / 1.581 GB, free: 14.5 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.5575, allocations: 95.19 kB / 1.581 GB, free: 14.4 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002517/0.5601, allocations: 1.045 MB / 1.582 GB, free: 13.35 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.007519/0.5676, allocations: 3.234 MB / 1.585 GB, free: 10.11 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00839/0.576, allocations: 3.488 MB / 1.589 GB, free: 6.613 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005656/0.5816, allocations: 4.042 MB / 1.593 GB, free: 2.559 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.5836, allocations: 1.122 MB / 1.594 GB, free: 1.402 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.5883, allocations: 2.34 MB / 1.596 GB, free: 15.05 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002402/0.5907, allocations: 1.404 MB / 1.597 GB, free: 13.64 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004124/0.5912, allocations: 136 kB / 1.597 GB, free: 13.51 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00649/0.5976, allocations: 3.19 MB / 1.601 GB, free: 10.31 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009603/0.5986, allocations: 0.6306 MB / 1.601 GB, free: 9.68 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.6005, allocations: 0.828 MB / 1.602 GB, free: 8.848 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007959/0.6085, allocations: 3.788 MB / 1.606 GB, free: 5.047 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6085, allocations: 0 / 1.606 GB, free: 5.047 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6085, allocations: 0 / 1.606 GB, free: 5.047 MB / 1.295 GB Notification: Performance of Transformations before backend: time 8.592e-05/0.6085, allocations: 4 kB / 1.606 GB, free: 5.043 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007122/0.6157, allocations: 2.678 MB / 1.608 GB, free: 2.312 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.6157, allocations: 8.031 kB / 1.608 GB, free: 2.305 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003635/0.6161, allocations: 202.4 kB / 1.609 GB, free: 2.098 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008351/0.6244, allocations: 1.337 MB / 1.61 GB, free: 0.7578 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5594/1.184, allocations: 1.162 MB / 1.611 GB, free: 247.7 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.184, allocations: 103.4 kB / 1.611 GB, free: 247.7 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/1.184, allocations: 131.8 kB / 1.611 GB, free: 247.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/1.189, allocations: 2.076 MB / 1.613 GB, free: 247.4 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/1.189, allocations: 5.875 kB / 1.613 GB, free: 247.4 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/1.189, allocations: 56.16 kB / 1.613 GB, free: 247.4 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.287e-05/1.189, allocations: 64.08 kB / 1.613 GB, free: 247.4 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005612/1.195, allocations: 2.189 MB / 1.615 GB, free: 246.8 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/1.205, allocations: 6.48 MB / 1.622 GB, free: 243.1 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/1.209, allocations: 1.818 MB / 1.624 GB, free: 242.6 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/1.212, allocations: 0.9331 MB / 1.624 GB, free: 242.4 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/1.212, allocations: 199 kB / 1.625 GB, free: 242.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003023/1.215, allocations: 1.065 MB / 1.626 GB, free: 242 MB / 1.295 GB Notification: Performance of pre-optimization done (n=119): time 3.977e-06/1.215, allocations: 1.5 kB / 1.626 GB, free: 242 MB / 1.295 GB Notification: Performance of matching and sorting (n=119): time 0.008423/1.224, allocations: 2.907 MB / 1.629 GB, free: 241.3 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/1.224, allocations: 63.73 kB / 1.629 GB, free: 241.2 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/1.226, allocations: 1.699 MB / 1.63 GB, free: 240.6 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/1.226, allocations: 51.95 kB / 1.63 GB, free: 240.6 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/1.227, allocations: 0.8073 MB / 1.631 GB, free: 240 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/1.227, allocations: 434.9 kB / 1.632 GB, free: 239.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/1.227, allocations: 243.1 kB / 1.632 GB, free: 239.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/1.228, allocations: 353 kB / 1.632 GB, free: 239.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.23, allocations: 0.8296 MB / 1.633 GB, free: 239.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002469/1.232, allocations: 1.373 MB / 1.634 GB, free: 238.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/1.237, allocations: 1.942 MB / 1.636 GB, free: 237.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/1.237, allocations: 2.156 kB / 1.636 GB, free: 237.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.005305/1.242, allocations: 2.204 MB / 1.638 GB, free: 236.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.242, allocations: 9.188 kB / 1.638 GB, free: 236.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.242, allocations: 8.531 kB / 1.638 GB, free: 236.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/1.242, allocations: 17.62 kB / 1.638 GB, free: 236.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.244, allocations: 402.2 kB / 1.639 GB, free: 236.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/1.244, allocations: 23.19 kB / 1.639 GB, free: 236.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/1.246, allocations: 299.7 kB / 1.639 GB, free: 236.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.246, allocations: 68.09 kB / 1.639 GB, free: 236.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0006387/1.247, allocations: 397.1 kB / 1.639 GB, free: 236.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.247, allocations: 198 kB / 1.64 GB, free: 236.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/1.252, allocations: 2.22 MB / 1.642 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.252, allocations: 12.28 kB / 1.642 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.252, allocations: 5.062 kB / 1.642 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.252, allocations: 6 kB / 1.642 GB, free: 235.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/1.261, allocations: 4.31 MB / 1.646 GB, free: 233.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.261, allocations: 8.516 kB / 1.646 GB, free: 233.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.263, allocations: 339.1 kB / 1.646 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.263, allocations: 12.59 kB / 1.646 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.263, allocations: 44.28 kB / 1.646 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/1.263, allocations: 15.81 kB / 1.646 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.263, allocations: 12.25 kB / 1.646 GB, free: 233.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/1.271, allocations: 3.521 MB / 1.65 GB, free: 232.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008087/1.272, allocations: 349 kB / 1.65 GB, free: 231.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/1.272, allocations: 29.75 kB / 1.65 GB, free: 231.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.274, allocations: 170.2 kB / 1.65 GB, free: 231.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.274, allocations: 98.06 kB / 1.651 GB, free: 231.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.274, allocations: 56.22 kB / 1.651 GB, free: 231.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001303/1.275, allocations: 1.154 MB / 1.652 GB, free: 231.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.275, allocations: 5.438 kB / 1.652 GB, free: 231.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001264/1.277, allocations: 498.9 kB / 1.652 GB, free: 231.1 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.008869/1.285, allocations: 4.575 MB / 1.657 GB, free: 228.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004604/1.29, allocations: 1.917 MB / 1.659 GB, free: 227.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.29, allocations: 256 / 1.659 GB, free: 227.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/1.292, allocations: 0.9748 MB / 1.659 GB, free: 226.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/1.296, allocations: 0.9659 MB / 1.66 GB, free: 225.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/1.322, allocations: 16.15 MB / 1.676 GB, free: 208.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/1.322, allocations: 0.8117 MB / 1.677 GB, free: 207.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001631/1.324, allocations: 474.4 kB / 1.677 GB, free: 207.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/1.325, allocations: 0.7296 MB / 1.678 GB, free: 206.5 MB / 1.295 GB Notification: Performance of SimCode: time 8.11e-07/1.325, allocations: 0 / 1.678 GB, free: 206.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/1.4, allocations: 55.96 MB / 1.733 GB, free: 151.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.74, allocations: 3.938 kB / 1.733 GB, free: 151.4 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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.92620894405991]