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.001249/0.001249, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001442/0.001442, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.315/1.315, allocations: 230.6 MB / 256 MB, free: 7.801 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.966/2.966, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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.001977/0.001977, allocations: 67.25 kB / 1.186 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2939, allocations: 181.9 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.241/0.5349, allocations: 214.7 MB / 1.573 GB, free: 6.531 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.548, allocations: 8.058 MB / 1.581 GB, free: 14.45 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.5498, allocations: 95.12 kB / 1.581 GB, free: 14.36 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.5521, allocations: 1.049 MB / 1.582 GB, free: 13.3 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.007458/0.5595, allocations: 3.22 MB / 1.585 GB, free: 10.07 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.007603/0.5671, allocations: 3.487 MB / 1.589 GB, free: 6.578 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.005157/0.5723, allocations: 3.952 MB / 1.592 GB, free: 2.613 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.574, allocations: 1.085 MB / 1.594 GB, free: 1.496 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.5789, allocations: 2.324 MB / 1.596 GB, free: 15.16 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.581, allocations: 1.377 MB / 1.597 GB, free: 13.78 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.5812, allocations: 128 kB / 1.597 GB, free: 13.66 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006343/0.5875, allocations: 3.175 MB / 1.6 GB, free: 10.47 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.5882, allocations: 0.619 MB / 1.601 GB, free: 9.852 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.5893, allocations: 0.824 MB / 1.602 GB, free: 9.023 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.00644/0.5957, allocations: 3.745 MB / 1.605 GB, free: 5.266 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5957, allocations: 4 kB / 1.605 GB, free: 5.262 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5957, allocations: 0 / 1.605 GB, free: 5.262 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.5958, allocations: 0 / 1.605 GB, free: 5.262 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.005739/0.6015, allocations: 2.639 MB / 1.608 GB, free: 2.57 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.6015, allocations: 8.031 kB / 1.608 GB, free: 2.562 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/0.6018, allocations: 198.4 kB / 1.608 GB, free: 2.359 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007066/0.6089, allocations: 1.134 MB / 1.609 GB, free: 1.223 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/0.6115, allocations: 1.162 MB / 1.61 GB, free: 16 kB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5415/1.153, allocations: 97.58 kB / 1.611 GB, free: 248 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004164/1.153, allocations: 129.2 kB / 1.611 GB, free: 248 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/1.157, allocations: 1.962 MB / 1.613 GB, free: 247.6 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/1.157, allocations: 2.469 kB / 1.613 GB, free: 247.6 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.157, allocations: 56.52 kB / 1.613 GB, free: 247.6 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-05/1.157, allocations: 68.14 kB / 1.613 GB, free: 247.6 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004576/1.162, allocations: 1.897 MB / 1.615 GB, free: 247.2 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009007/1.171, allocations: 6.786 MB / 1.621 GB, free: 243 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/1.175, allocations: 1.462 MB / 1.623 GB, free: 242.6 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/1.177, allocations: 0.7504 MB / 1.623 GB, free: 242.4 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008747/1.177, allocations: 201.9 kB / 1.624 GB, free: 242.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001972/1.179, allocations: 0.8842 MB / 1.624 GB, free: 242.1 MB / 1.295 GB Notification: Performance of pre-optimization done (n=106): time 3.196e-06/1.179, allocations: 2.125 kB / 1.624 GB, free: 242.1 MB / 1.295 GB Notification: Performance of matching and sorting (n=106): time 0.006794/1.186, allocations: 2.422 MB / 1.627 GB, free: 241.4 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.186, allocations: 67.25 kB / 1.627 GB, free: 241.4 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/1.188, allocations: 1.785 MB / 1.629 GB, free: 240.7 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 9.863e-05/1.188, allocations: 52.58 kB / 1.629 GB, free: 240.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/1.189, allocations: 0.8409 MB / 1.629 GB, free: 240 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.189, allocations: 380.5 kB / 1.63 GB, free: 239.8 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/1.189, allocations: 239.4 kB / 1.63 GB, free: 239.7 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/1.19, allocations: 355.1 kB / 1.63 GB, free: 239.4 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.191, allocations: 0.675 MB / 1.631 GB, free: 239.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/1.193, allocations: 1.279 MB / 1.632 GB, free: 238.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/1.197, allocations: 1.727 MB / 1.634 GB, free: 237.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/1.197, allocations: 3.406 kB / 1.634 GB, free: 237.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004286/1.201, allocations: 1.954 MB / 1.636 GB, free: 236.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.201, allocations: 9.062 kB / 1.636 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.201, allocations: 11.73 kB / 1.636 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.201, allocations: 18.12 kB / 1.636 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.202, allocations: 366.8 kB / 1.636 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/1.203, allocations: 28.28 kB / 1.636 GB, free: 236.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.204, allocations: 254.6 kB / 1.637 GB, free: 236.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.204, allocations: 61.98 kB / 1.637 GB, free: 236.7 MB / 1.295 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.0005812/1.205, allocations: 402.4 kB / 1.637 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/1.205, allocations: 211.3 kB / 1.637 GB, free: 236.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/1.209, allocations: 1.87 MB / 1.639 GB, free: 235.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.209, allocations: 10.03 kB / 1.639 GB, free: 235.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/1.209, allocations: 5.281 kB / 1.639 GB, free: 235.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.209, allocations: 5.438 kB / 1.639 GB, free: 235.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007293/1.217, allocations: 3.853 MB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.217, allocations: 10.12 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/1.218, allocations: 275.5 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/1.218, allocations: 10.62 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.413e-05/1.218, allocations: 43.62 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/1.218, allocations: 16.5 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.218, allocations: 7.766 kB / 1.643 GB, free: 234.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/1.224, allocations: 2.997 MB / 1.646 GB, free: 232.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/1.225, allocations: 332.2 kB / 1.646 GB, free: 232.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/1.225, allocations: 33.31 kB / 1.646 GB, free: 232.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.227, allocations: 122.2 kB / 1.647 GB, free: 232.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/1.227, allocations: 100.3 kB / 1.647 GB, free: 232.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/1.227, allocations: 49.92 kB / 1.647 GB, free: 232.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001402/1.228, allocations: 1.207 MB / 1.648 GB, free: 232.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.228, allocations: 4 kB / 1.648 GB, free: 232.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001272/1.23, allocations: 478.9 kB / 1.648 GB, free: 232.1 MB / 1.295 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 (112): * Single equations (assignments): 106 * 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.007704/1.237, allocations: 4.04 MB / 1.652 GB, free: 230.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00397/1.241, allocations: 1.617 MB / 1.654 GB, free: 229.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.241, allocations: 2.219 kB / 1.654 GB, free: 229.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.243, allocations: 0.8023 MB / 1.655 GB, free: 229.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.247, allocations: 0.9797 MB / 1.656 GB, free: 228.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.266, allocations: 14.82 MB / 1.67 GB, free: 214.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/1.266, allocations: 0.798 MB / 1.671 GB, free: 213.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001477/1.268, allocations: 474.5 kB / 1.671 GB, free: 213.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007796/1.268, allocations: 0.7218 MB / 1.672 GB, free: 212.4 MB / 1.295 GB Notification: Performance of SimCode: time 6.22e-07/1.268, allocations: 0 / 1.672 GB, free: 212.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07761/1.346, allocations: 55.76 MB / 1.726 GB, free: 157.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.6, allocations: 10.23 kB / 1.726 GB, free: 157.6 MB / 1.295 GB " [Timeout remaining time 286] (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: 19.874676255043596]