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.001429/0.001429, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001628/0.001628, allocations: 218 kB / 22.26 MB, free: 5.125 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.324/1.324, allocations: 230.6 MB / 256 MB, free: 7.984 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.91/2.91, 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_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001845/0.001845, allocations: 63.45 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2877, allocations: 180.2 MB / 1.353 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2741/0.5618, allocations: 246.4 MB / 1.594 GB, free: 1.043 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.01373/0.5756, allocations: 8.564 MB / 1.602 GB, free: 8.461 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.5773, allocations: 95.12 kB / 1.602 GB, free: 8.367 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.58, allocations: 1.08 MB / 1.603 GB, free: 7.281 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.007808/0.5878, allocations: 3.277 MB / 1.606 GB, free: 3.992 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.007979/0.5958, allocations: 3.601 MB / 1.61 GB, free: 392 kB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.6477/1.243, allocations: 3.971 MB / 1.614 GB, free: 8.453 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/1.246, allocations: 1.1 MB / 1.615 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006136/1.252, allocations: 2.321 MB / 1.617 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/1.256, allocations: 1.446 MB / 1.618 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004521/1.256, allocations: 128.9 kB / 1.619 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007307/1.263, allocations: 4.269 MB / 1.623 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/1.265, allocations: 0.6144 MB / 1.623 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001883/1.266, allocations: 0.9939 MB / 1.624 GB, free: 8.363 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.00838/1.275, allocations: 3.883 MB / 1.628 GB, free: 8.129 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.275, allocations: 3.094 kB / 1.628 GB, free: 8.129 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.362e-06/1.275, allocations: 0.875 kB / 1.628 GB, free: 8.129 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.345e-05/1.275, allocations: 1.219 kB / 1.628 GB, free: 8.129 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.007077/1.282, allocations: 2.652 MB / 1.631 GB, free: 22.88 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/1.282, allocations: 10.03 kB / 1.631 GB, free: 22.88 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002256/1.282, allocations: 199.1 kB / 1.631 GB, free: 22.84 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007186/1.289, allocations: 1.141 MB / 1.632 GB, free: 22.71 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/1.292, allocations: 1.172 MB / 1.633 GB, free: 22.3 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/1.292, allocations: 95.66 kB / 1.633 GB, free: 22.3 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/1.292, allocations: 137.6 kB / 1.633 GB, free: 22.3 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003971/1.296, allocations: 1.953 MB / 1.635 GB, free: 21.96 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/1.296, allocations: 6.594 kB / 1.635 GB, free: 21.96 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.297, allocations: 54.8 kB / 1.635 GB, free: 21.96 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-05/1.297, allocations: 67.36 kB / 1.635 GB, free: 21.95 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/1.301, allocations: 1.886 MB / 1.637 GB, free: 21.94 MB / 1.311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/1.312, allocations: 8.61 MB / 1.646 GB, free: 16.78 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/1.316, allocations: 1.446 MB / 1.647 GB, free: 16.75 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/1.317, allocations: 0.7477 MB / 1.648 GB, free: 16.74 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009221/1.318, allocations: 206.1 kB / 1.648 GB, free: 16.74 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/1.32, allocations: 0.8777 MB / 1.649 GB, free: 16.69 MB / 1.311 GB Notification: Performance of pre-optimization done (n=106): time 3.005e-06/1.32, allocations: 1 kB / 1.649 GB, free: 16.69 MB / 1.311 GB Notification: Performance of matching and sorting (n=106): time 0.006344/1.326, allocations: 2.395 MB / 1.651 GB, free: 16.54 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/1.327, allocations: 67.02 kB / 1.651 GB, free: 16.48 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/1.329, allocations: 1.736 MB / 1.653 GB, free: 16.25 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/1.329, allocations: 50.97 kB / 1.653 GB, free: 16.22 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/1.33, allocations: 0.8443 MB / 1.654 GB, free: 15.96 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/1.33, allocations: 389.8 kB / 1.654 GB, free: 15.71 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/1.33, allocations: 242.3 kB / 1.654 GB, free: 15.69 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.33, allocations: 355.6 kB / 1.655 GB, free: 15.38 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/1.332, allocations: 0.6683 MB / 1.655 GB, free: 15.38 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.334, allocations: 1.047 MB / 1.656 GB, free: 14.97 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/1.337, allocations: 1.714 MB / 1.658 GB, free: 14.59 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/1.337, allocations: 4.938 kB / 1.658 GB, free: 14.59 MB / 1.311 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004069/1.341, allocations: 1.934 MB / 1.66 GB, free: 14.45 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.341, allocations: 9.562 kB / 1.66 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.341, allocations: 12.25 kB / 1.66 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.341, allocations: 15.97 kB / 1.66 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/1.343, allocations: 364.1 kB / 1.66 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/1.343, allocations: 22.25 kB / 1.66 GB, free: 14.45 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/1.345, allocations: 257.8 kB / 1.661 GB, free: 14.36 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.345, allocations: 67.11 kB / 1.661 GB, free: 14.36 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.0006836/1.346, allocations: 411.4 kB / 1.661 GB, free: 14.23 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/1.346, allocations: 202.3 kB / 1.661 GB, free: 14.12 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003836/1.35, allocations: 1.843 MB / 1.663 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.35, allocations: 10.78 kB / 1.663 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/1.35, allocations: 10.17 kB / 1.663 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.35, allocations: 4.922 kB / 1.663 GB, free: 14.02 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/1.356, allocations: 3.996 MB / 1.667 GB, free: 13.41 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.356, allocations: 6.25 kB / 1.667 GB, free: 13.41 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/1.358, allocations: 271.7 kB / 1.667 GB, free: 13.4 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/1.358, allocations: 15.06 kB / 1.667 GB, free: 13.4 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/1.358, allocations: 38.78 kB / 1.667 GB, free: 13.4 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/1.358, allocations: 10.25 kB / 1.667 GB, free: 13.4 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.358, allocations: 11.81 kB / 1.667 GB, free: 13.4 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/1.363, allocations: 2.95 MB / 1.67 GB, free: 12.83 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009091/1.364, allocations: 336.7 kB / 1.671 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.364, allocations: 30.73 kB / 1.671 GB, free: 12.71 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.366, allocations: 120.1 kB / 1.671 GB, free: 12.7 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.366, allocations: 90.25 kB / 1.671 GB, free: 12.69 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/1.366, allocations: 48.81 kB / 1.671 GB, free: 12.69 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001392/1.367, allocations: 1.192 MB / 1.672 GB, free: 12.55 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.11e-07/1.367, allocations: 0 / 1.672 GB, free: 12.55 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001242/1.369, allocations: 467.3 kB / 1.672 GB, free: 12.52 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.007531/1.376, allocations: 3.973 MB / 1.676 GB, free: 11.31 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.003788/1.38, allocations: 1.587 MB / 1.678 GB, free: 11.27 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.38, allocations: 256 / 1.678 GB, free: 11.27 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.382, allocations: 0.7954 MB / 1.679 GB, free: 11.25 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/1.386, allocations: 0.9812 MB / 1.68 GB, free: 11.06 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.408, allocations: 14.78 MB / 1.694 GB, free: 6.789 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/1.409, allocations: 1.377 MB / 1.695 GB, free: 6.055 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001753/1.41, allocations: 465.6 kB / 1.696 GB, free: 5.922 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008596/1.411, allocations: 0.7291 MB / 1.697 GB, free: 5.914 MB / 1.311 GB Notification: Performance of SimCode: time 8.32e-07/1.411, allocations: 1.969 kB / 1.697 GB, free: 5.914 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/1.507, allocations: 51.92 MB / 1.747 GB, free: 7.824 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.99/22.5, allocations: 11.88 kB / 1.747 GB, free: 7.812 MB / 1.342 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: 28.719945769989863]