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.001217/0.001217, allocations: 114.3 kB / 18.94 MB, free: 2.789 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: 220.7 kB / 22.26 MB, free: 5.211 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.338/1.338, allocations: 230.6 MB / 256 MB, free: 8 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.942/2.942, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.001913/0.001913, allocations: 63.91 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3017, allocations: 180.2 MB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2521/0.5538, allocations: 246.4 MB / 1.594 GB, free: 1.039 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5675, allocations: 8.575 MB / 1.602 GB, free: 8.445 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.5691, allocations: 95.12 kB / 1.602 GB, free: 8.352 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.5717, allocations: 1.072 MB / 1.603 GB, free: 7.273 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.5798, allocations: 3.277 MB / 1.606 GB, free: 3.984 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008314/0.5881, allocations: 3.601 MB / 1.61 GB, free: 384 kB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.6377/1.226, allocations: 4.053 MB / 1.614 GB, free: 8.484 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/1.228, allocations: 1.151 MB / 1.615 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004423/1.232, allocations: 2.341 MB / 1.617 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/1.234, allocations: 1.478 MB / 1.619 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.234, allocations: 135.3 kB / 1.619 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/1.241, allocations: 4.276 MB / 1.623 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007847/1.242, allocations: 0.6262 MB / 1.624 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/1.243, allocations: 1.008 MB / 1.625 GB, free: 8.395 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.006829/1.25, allocations: 3.926 MB / 1.628 GB, free: 8.16 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.25, allocations: 0.8125 kB / 1.628 GB, free: 8.16 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.262e-06/1.25, allocations: 1.344 kB / 1.628 GB, free: 8.16 MB / 1.295 GB Notification: Performance of Transformations before backend: time 3.225e-05/1.25, allocations: 0.7812 kB / 1.628 GB, free: 8.16 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.00642/1.256, allocations: 2.689 MB / 1.631 GB, free: 22.91 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/1.256, allocations: 9.5 kB / 1.631 GB, free: 22.91 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/1.256, allocations: 193.5 kB / 1.631 GB, free: 22.86 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008276/1.265, allocations: 1.335 MB / 1.632 GB, free: 22.74 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/1.267, allocations: 1.194 MB / 1.634 GB, free: 22.32 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.376e-05/1.267, allocations: 102 kB / 1.634 GB, free: 22.32 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/1.268, allocations: 132.8 kB / 1.634 GB, free: 22.32 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00427/1.272, allocations: 2.073 MB / 1.636 GB, free: 22.04 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.272, allocations: 4.469 kB / 1.636 GB, free: 22.04 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/1.272, allocations: 57.59 kB / 1.636 GB, free: 22.04 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/1.272, allocations: 63.89 kB / 1.636 GB, free: 22.04 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005364/1.277, allocations: 2.178 MB / 1.638 GB, free: 22.02 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/1.288, allocations: 8.32 MB / 1.646 GB, free: 17.52 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/1.292, allocations: 1.797 MB / 1.648 GB, free: 17.48 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/1.294, allocations: 0.924 MB / 1.649 GB, free: 17.48 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009105/1.295, allocations: 217.2 kB / 1.649 GB, free: 17.48 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/1.297, allocations: 1.065 MB / 1.65 GB, free: 17.42 MB / 1.311 GB Notification: Performance of pre-optimization done (n=119): time 2.825e-06/1.297, allocations: 0 / 1.65 GB, free: 17.42 MB / 1.311 GB Notification: Performance of matching and sorting (n=119): time 0.007291/1.304, allocations: 2.879 MB / 1.653 GB, free: 17.27 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.305, allocations: 63.84 kB / 1.653 GB, free: 17.21 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.306, allocations: 1.652 MB / 1.655 GB, free: 17.04 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.306, allocations: 49.7 kB / 1.655 GB, free: 17 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/1.307, allocations: 0.8231 MB / 1.655 GB, free: 16.75 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/1.307, allocations: 436.5 kB / 1.656 GB, free: 16.48 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003405/1.307, allocations: 238.3 kB / 1.656 GB, free: 16.46 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.307, allocations: 355.2 kB / 1.656 GB, free: 16.16 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.309, allocations: 0.8186 MB / 1.657 GB, free: 16.15 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/1.312, allocations: 1.142 MB / 1.658 GB, free: 15.84 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/1.315, allocations: 1.925 MB / 1.66 GB, free: 15.51 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.315, allocations: 2.938 kB / 1.66 GB, free: 15.51 MB / 1.311 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.004591/1.32, allocations: 2.197 MB / 1.662 GB, free: 15.32 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.32, allocations: 12.8 kB / 1.662 GB, free: 15.32 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.32, allocations: 9.25 kB / 1.662 GB, free: 15.32 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.32, allocations: 16.44 kB / 1.662 GB, free: 15.32 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.322, allocations: 414.6 kB / 1.663 GB, free: 15.31 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.322, allocations: 19.44 kB / 1.663 GB, free: 15.31 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/1.324, allocations: 284.9 kB / 1.663 GB, free: 15.22 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.324, allocations: 59.72 kB / 1.663 GB, free: 15.22 MB / 1.311 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.0005967/1.325, allocations: 407.5 kB / 1.664 GB, free: 15.09 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/1.325, allocations: 202.5 kB / 1.664 GB, free: 14.98 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/1.33, allocations: 2.192 MB / 1.666 GB, free: 14.87 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.33, allocations: 10.44 kB / 1.666 GB, free: 14.87 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.33, allocations: 0 / 1.666 GB, free: 14.87 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.33, allocations: 8.391 kB / 1.666 GB, free: 14.87 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/1.337, allocations: 4.47 MB / 1.67 GB, free: 14.23 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.337, allocations: 7.75 kB / 1.67 GB, free: 14.23 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.339, allocations: 341.3 kB / 1.671 GB, free: 14.22 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.339, allocations: 11.06 kB / 1.671 GB, free: 14.22 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.339, allocations: 48.55 kB / 1.671 GB, free: 14.22 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/1.339, allocations: 16.31 kB / 1.671 GB, free: 14.22 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.339, allocations: 8.062 kB / 1.671 GB, free: 14.22 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/1.346, allocations: 3.475 MB / 1.674 GB, free: 13.63 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/1.347, allocations: 345.4 kB / 1.674 GB, free: 13.51 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/1.347, allocations: 31.41 kB / 1.674 GB, free: 13.51 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/1.348, allocations: 168.6 kB / 1.675 GB, free: 13.5 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.349, allocations: 104.9 kB / 1.675 GB, free: 13.48 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.586e-05/1.349, allocations: 47.53 kB / 1.675 GB, free: 13.48 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001276/1.35, allocations: 1.137 MB / 1.676 GB, free: 13.37 MB / 1.311 GB Notification: Performance of sort global known variables: time 8.1e-08/1.35, allocations: 0 / 1.676 GB, free: 13.37 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001246/1.351, allocations: 498.9 kB / 1.676 GB, free: 13.33 MB / 1.311 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 (122): * Single equations (assignments): 116 * 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.008542/1.36, allocations: 4.507 MB / 1.681 GB, free: 12.11 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004503/1.364, allocations: 1.9 MB / 1.683 GB, free: 12.04 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.364, allocations: 2.312 kB / 1.683 GB, free: 12.04 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002182/1.366, allocations: 0.9689 MB / 1.684 GB, free: 12.02 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/1.37, allocations: 0.9516 MB / 1.684 GB, free: 11.85 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/1.398, allocations: 16.1 MB / 1.7 GB, free: 7.605 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/1.399, allocations: 1.389 MB / 1.702 GB, free: 6.867 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001822/1.401, allocations: 480.4 kB / 1.702 GB, free: 6.727 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/1.402, allocations: 0.7384 MB / 1.703 GB, free: 6.719 MB / 1.311 GB Notification: Performance of SimCode: time 5.81e-07/1.402, allocations: 0 / 1.703 GB, free: 6.719 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0967/1.498, allocations: 52.17 MB / 1.754 GB, free: 2.973 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.81/22.3, allocations: 10.25 kB / 1.754 GB, free: 2.965 MB / 1.342 GB " [Timeout remaining time 278] (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: 28.55654509505257]