Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.001206/0.001206, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001152/0.001152, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8858/0.8858, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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 1.731/1.731, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.267e-05, allocations: 5.234 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002062/0.002084, allocations: 1.775 MB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.002335, allocations: 119.6 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.002401, allocations: 3.938 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.002498, allocations: 15.86 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.002563, allocations: 59.42 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.002729, allocations: 31.95 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.002888, allocations: 175.1 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.002988, allocations: 25.22 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.003072, allocations: 79.81 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.003144, allocations: 51.88 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.00317, allocations: 15.98 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.003186, allocations: 12 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.003207, allocations: 19.92 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.00337, allocations: 51.84 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.003499, allocations: 123.6 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003501, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003502, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.003506, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004807/0.003987, allocations: 385.6 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.004027, allocations: 12.69 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.004058, allocations: 38.75 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.004084, allocations: 12.84 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.00427, allocations: 145.6 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-06/0.004278, allocations: 384 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.004291, allocations: 12.38 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.004472, allocations: 119.8 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.004479, allocations: 8.125 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.00449, allocations: 4.375 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004498, allocations: 8.125 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.004659, allocations: 91.92 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.005237, allocations: 419.8 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.005522, allocations: 129.2 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.005609, allocations: 53.78 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.005633, allocations: 7.984 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.00565, allocations: 30.56 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.005653, allocations: 3.984 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003489/0.006001, allocations: 189.5 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.006037, allocations: 81.11 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.006146, allocations: 171.2 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006159, allocations: 29.7 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.006207, allocations: 100.1 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.006228, allocations: 39.73 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.006265, allocations: 25.72 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.006335, allocations: 326.8 kB / 1.004 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.006412, allocations: 43.95 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.006489, allocations: 65.62 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.006638, allocations: 93.67 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006641, allocations: 4 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.006829, allocations: 141.5 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.006841, allocations: 15.98 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.006845, allocations: 0 / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006856, allocations: 0 / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.00693, allocations: 27.98 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.006934, allocations: 0 / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.006987, allocations: 11.98 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.006994, allocations: 0 / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.659e-05/0.007061, allocations: 125.7 kB / 1.005 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.007088, allocations: 15.91 kB / 1.005 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.007321, allocations: 163.1 kB / 1.005 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007324, allocations: 4 kB / 1.005 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.007327, allocations: 3.938 kB / 1.005 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.007331, allocations: 4 kB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.007512, allocations: 176.6 kB / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.007513, allocations: 0 / 1.005 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.007571, allocations: 19.98 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007573, allocations: 8 kB / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.007581, allocations: 0 / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007582, allocations: 0 / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007583, allocations: 0 / 1.005 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.007818, allocations: 318.5 kB / 1.006 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.007835, allocations: 11.91 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.00785, allocations: 4.281 kB / 1.006 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.00793, allocations: 7.984 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.007971, allocations: 15.98 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.007976, allocations: 7.938 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.913e-05/0.008045, allocations: 128.8 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008045, allocations: 0 / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001841/0.008229, allocations: 24 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0003971/0.008627, allocations: 0.8482 MB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.008825, allocations: 103.9 kB / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008827, allocations: 0 / 1.007 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.073e-05/0.008908, allocations: 51.91 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.009202, allocations: 46.39 kB / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.01055, allocations: 1.828 MB / 1.009 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.01061, allocations: 93.81 kB / 1.009 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.722e-05/0.01067, allocations: 16.72 kB / 1.009 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.01073, allocations: 44.42 kB / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01073, allocations: 0 / 1.009 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.02657, allocations: 4.607 MB / 1.013 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/6.572, allocations: 7.516 kB / 1.013 GB, free: 15.3 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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: 10.559657847508788]