Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008384/0.0008384, 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.0009235/0.0009235, allocations: 169.9 kB / 22.46 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.9356/0.9356, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.148e-06/4.148e-06, allocations: 4 kB / 0.9809 GB, free: 2.648 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.595e-05/4.01e-05, allocations: 9.172 kB / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004049/0.004089, allocations: 1.77 MB / 0.9827 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003836/0.004473, allocations: 131.5 kB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.004589, allocations: 0 / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.004738, allocations: 15.8 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.004854, allocations: 51.56 kB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.00505, allocations: 31.94 kB / 0.9829 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.005315, allocations: 183 kB / 0.9831 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.005502, allocations: 17.3 kB / 0.9831 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.005657, allocations: 75.86 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.005779, allocations: 63.75 kB / 0.9832 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.005825, allocations: 11.98 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.714e-05/0.005852, allocations: 12 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.43e-05/0.005887, allocations: 15.92 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.362e-05/0.00595, allocations: 47.92 kB / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.006159, allocations: 135.5 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.006164, allocations: 0 / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.784e-06/0.006166, allocations: 4 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.006172, allocations: 0 / 0.9834 GB, free: 80 kB / 0.9323 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.0007825/0.006954, allocations: 377.6 kB / 0.9838 GB, free: 15.68 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.007017, allocations: 8.031 kB / 0.9838 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.972e-05/0.007066, allocations: 46.73 kB / 0.9838 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.00711, allocations: 16.84 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.007433, allocations: 145.5 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.007449, allocations: 4.375 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.007468, allocations: 8.375 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.00777, allocations: 115.9 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.007784, allocations: 4.188 kB / 0.9841 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.007805, allocations: 8.359 kB / 0.9841 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.007813, allocations: 8.125 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002708/0.008084, allocations: 91.88 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007882/0.008872, allocations: 423.9 kB / 0.9846 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.009246, allocations: 125.1 kB / 0.9847 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.009395, allocations: 61.78 kB / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.009425, allocations: 0 / 0.9848 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.009454, allocations: 38.5 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.009456, allocations: 0 / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0005433/0.009999, allocations: 181.5 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.01005, allocations: 77.11 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.01022, allocations: 171.2 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.01023, allocations: 29.7 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.01031, allocations: 112 kB / 0.9854 GB, free: 13.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.01035, allocations: 35.8 kB / 0.9854 GB, free: 13.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.0104, allocations: 25.67 kB / 0.9854 GB, free: 13.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.01052, allocations: 330.7 kB / 0.9858 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01064, allocations: 43.97 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.01076, allocations: 53.69 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.011, allocations: 109.6 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01101, allocations: 0 / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002833/0.01129, allocations: 137.6 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.01131, allocations: 6.656 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.01132, allocations: 384 / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01134, allocations: 4 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.01146, allocations: 31.92 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.01147, allocations: 4 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.01156, allocations: 16.12 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.01157, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 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 0.0001034/0.01167, allocations: 125.8 kB / 0.9863 GB, free: 12.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.01173, allocations: 15.89 kB / 0.9863 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.01212, allocations: 158.7 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.01213, allocations: 4 kB / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01214, allocations: 192 / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01214, allocations: 0 / 0.9864 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.01242, allocations: 184.5 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01242, allocations: 0 / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.01254, allocations: 23.97 kB / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01254, allocations: 0 / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.01255, allocations: 0 / 0.9866 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.01256, allocations: 7.938 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01256, allocations: 4 kB / 0.9867 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.0129, allocations: 314.6 kB / 0.987 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.01293, allocations: 11.94 kB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.01295, allocations: 0 / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.0131, allocations: 8 kB / 0.987 GB, free: 12.14 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.01316, allocations: 7.984 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.01317, allocations: 4 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004037/0.01357, allocations: 144.2 kB / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/0.01357, allocations: 0 / 0.9871 GB, free: 11.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00031/0.01388, allocations: 27.95 kB / 0.9871 GB, free: 11.96 MB / 0.948 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.0007573/0.01464, allocations: 0.8366 MB / 0.988 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.01498, allocations: 103.8 kB / 0.9881 GB, free: 10.99 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.01499, allocations: 4 kB / 0.9881 GB, free: 10.99 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.01512, allocations: 55.91 kB / 0.9881 GB, free: 10.93 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.01562, allocations: 40.47 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.01793, allocations: 1.832 MB / 0.9899 GB, free: 8.965 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.154e-05/0.01802, allocations: 89.81 kB / 0.99 GB, free: 8.859 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001037/0.01812, allocations: 12.78 kB / 0.99 GB, free: 8.848 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.01822, allocations: 40.48 kB / 0.9901 GB, free: 8.809 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/0.01822, allocations: 0 / 0.9901 GB, free: 8.809 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.03938, allocations: 4.6 MB / 0.9946 GB, free: 4.426 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.798/6.837, allocations: 14.48 kB / 0.9946 GB, free: 4.414 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.146074566990137]