Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.001403/0.001403, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00166/0.00166, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.946/2.946, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001823/0.001823, allocations: 70.11 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3231, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2676/0.5908, allocations: 246.5 MB / 1.586 GB, free: 9.051 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.6051, allocations: 8.546 MB / 1.594 GB, free: 500 kB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.6071, allocations: 95.12 kB / 1.594 GB, free: 404 kB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002822/0.61, allocations: 1.08 MB / 1.596 GB, free: 15.31 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.007747/0.6177, allocations: 3.279 MB / 1.599 GB, free: 12.02 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.008444/0.6262, allocations: 3.605 MB / 1.602 GB, free: 8.406 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.006177/0.6323, allocations: 3.972 MB / 1.606 GB, free: 4.422 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.6347, allocations: 1.1 MB / 1.607 GB, free: 3.289 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005342/0.6401, allocations: 2.316 MB / 1.609 GB, free: 0.9648 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.637/1.277, allocations: 1.437 MB / 1.611 GB, free: 10.85 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004935/1.278, allocations: 130.5 kB / 1.611 GB, free: 10.85 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007833/1.285, allocations: 4.267 MB / 1.615 GB, free: 10.85 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0007111/1.286, allocations: 0.6163 MB / 1.616 GB, free: 10.85 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/1.288, allocations: 0.9929 MB / 1.617 GB, free: 10.85 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007017/1.295, allocations: 3.886 MB / 1.621 GB, free: 10.62 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.295, allocations: 0.5156 kB / 1.621 GB, free: 10.62 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.212e-06/1.295, allocations: 0 / 1.621 GB, free: 10.62 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.552e-05/1.295, allocations: 1.188 kB / 1.621 GB, free: 10.62 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005808/1.3, allocations: 2.652 MB / 1.623 GB, free: 9.371 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.3, allocations: 11.66 kB / 1.623 GB, free: 9.371 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.728e-05/1.3, allocations: 33.34 kB / 1.623 GB, free: 9.367 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/1.301, allocations: 196 kB / 1.623 GB, free: 9.324 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007282/1.308, allocations: 1.142 MB / 1.624 GB, free: 9.203 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/1.31, allocations: 1.176 MB / 1.626 GB, free: 8.789 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.343e-05/1.31, allocations: 100.5 kB / 1.626 GB, free: 8.785 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/1.311, allocations: 137.5 kB / 1.626 GB, free: 8.781 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003839/1.314, allocations: 1.953 MB / 1.628 GB, free: 8.441 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/1.315, allocations: 8.406 kB / 1.628 GB, free: 8.441 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.315, allocations: 55.31 kB / 1.628 GB, free: 8.441 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.559e-05/1.315, allocations: 63.06 kB / 1.628 GB, free: 8.438 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004453/1.319, allocations: 1.888 MB / 1.63 GB, free: 8.422 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/1.329, allocations: 8.604 MB / 1.638 GB, free: 19.28 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/1.333, allocations: 1.449 MB / 1.64 GB, free: 19.25 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/1.335, allocations: 0.7466 MB / 1.64 GB, free: 19.24 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/1.336, allocations: 208.8 kB / 1.64 GB, free: 19.24 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001922/1.338, allocations: 0.8715 MB / 1.641 GB, free: 19.19 MB / 1.311 GB Notification: Performance of pre-optimization done (n=106): time 3.507e-06/1.338, allocations: 5.594 kB / 1.641 GB, free: 19.19 MB / 1.311 GB Notification: Performance of matching and sorting (n=106): time 0.00637/1.344, allocations: 2.392 MB / 1.644 GB, free: 19.04 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.344, allocations: 62.56 kB / 1.644 GB, free: 18.98 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.346, allocations: 1.742 MB / 1.645 GB, free: 18.75 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/1.346, allocations: 52.72 kB / 1.645 GB, free: 18.71 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/1.347, allocations: 0.8463 MB / 1.646 GB, free: 18.45 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.347, allocations: 388.1 kB / 1.647 GB, free: 18.21 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/1.347, allocations: 238.1 kB / 1.647 GB, free: 18.18 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.348, allocations: 357.5 kB / 1.647 GB, free: 17.88 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/1.349, allocations: 0.6708 MB / 1.648 GB, free: 17.87 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/1.351, allocations: 1.05 MB / 1.649 GB, free: 17.46 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/1.355, allocations: 1.717 MB / 1.651 GB, free: 17.09 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/1.355, allocations: 2.656 kB / 1.651 GB, free: 17.09 MB / 1.311 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004207/1.359, allocations: 1.932 MB / 1.652 GB, free: 16.95 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.359, allocations: 9.781 kB / 1.652 GB, free: 16.95 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/1.359, allocations: 10.69 kB / 1.653 GB, free: 16.95 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.359, allocations: 18 kB / 1.653 GB, free: 16.95 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/1.36, allocations: 361.5 kB / 1.653 GB, free: 16.95 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/1.36, allocations: 23.09 kB / 1.653 GB, free: 16.95 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.362, allocations: 255.7 kB / 1.653 GB, free: 16.86 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.362, allocations: 67.39 kB / 1.653 GB, free: 16.86 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.0006262/1.363, allocations: 409.5 kB / 1.654 GB, free: 16.73 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.363, allocations: 205.4 kB / 1.654 GB, free: 16.62 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/1.367, allocations: 1.845 MB / 1.656 GB, free: 16.54 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.367, allocations: 12.11 kB / 1.656 GB, free: 16.54 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.367, allocations: 0 / 1.656 GB, free: 16.54 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.367, allocations: 8.531 kB / 1.656 GB, free: 16.54 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006335/1.373, allocations: 3.985 MB / 1.659 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.515e-06/1.373, allocations: 7.406 kB / 1.66 GB, free: 15.94 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/1.375, allocations: 272.8 kB / 1.66 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.375, allocations: 13.94 kB / 1.66 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.434e-05/1.375, allocations: 41.73 kB / 1.66 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.375, allocations: 17.2 kB / 1.66 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.375, allocations: 9.156 kB / 1.66 GB, free: 15.93 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00548/1.38, allocations: 2.944 MB / 1.663 GB, free: 15.36 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006719/1.381, allocations: 328.2 kB / 1.663 GB, free: 15.24 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/1.381, allocations: 31.94 kB / 1.663 GB, free: 15.24 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.382, allocations: 127.3 kB / 1.663 GB, free: 15.23 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.383, allocations: 85.56 kB / 1.663 GB, free: 15.23 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/1.383, allocations: 50.47 kB / 1.663 GB, free: 15.23 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001325/1.384, allocations: 1.193 MB / 1.664 GB, free: 15.08 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.384, allocations: 0 / 1.664 GB, free: 15.08 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001338/1.385, allocations: 469.9 kB / 1.665 GB, free: 15.05 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (109): * Single equations (assignments): 103 * 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.007642/1.393, allocations: 3.978 MB / 1.669 GB, free: 13.84 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003688/1.397, allocations: 1.592 MB / 1.67 GB, free: 13.79 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.397, allocations: 2.281 kB / 1.67 GB, free: 13.79 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.398, allocations: 0.7903 MB / 1.671 GB, free: 13.78 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/1.402, allocations: 0.9784 MB / 1.672 GB, free: 13.6 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/1.424, allocations: 14.78 MB / 1.687 GB, free: 9.324 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/1.425, allocations: 1.375 MB / 1.688 GB, free: 8.59 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001851/1.427, allocations: 466.9 kB / 1.688 GB, free: 8.453 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009241/1.428, allocations: 0.7337 MB / 1.689 GB, free: 8.441 MB / 1.311 GB Notification: Performance of SimCode: time 5.31e-07/1.428, allocations: 1.203 kB / 1.689 GB, free: 8.441 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0868/1.514, allocations: 51.93 MB / 1.74 GB, free: 0.6914 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.28/22.8, allocations: 14.28 kB / 1.74 GB, free: 0.6836 MB / 1.326 GB " [Timeout remaining time 277] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: 29.325392042985186]