Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.0008495/0.0008495, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000864/0.000864, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9028/0.9028, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.757/1.757, allocations: 377.8 MB / 0.6228 GB, free: 8.668 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: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.271e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003353/0.003386, allocations: 1.94 MB / 0.9841 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.005665, allocations: 1.571 MB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.005878, allocations: 8 kB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.006003, allocations: 59.2 kB / 0.9857 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.006258, allocations: 103 kB / 0.9858 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.006998, allocations: 314.6 kB / 0.9861 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007791/0.007777, allocations: 0.6447 MB / 0.9867 GB, free: 13.48 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000411/0.008188, allocations: 246.4 kB / 0.9869 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.008584, allocations: 367.2 kB / 0.9873 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.008807, allocations: 175.4 kB / 0.9874 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.008888, allocations: 76 kB / 0.9875 GB, free: 12.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.009026, allocations: 95.91 kB / 0.9876 GB, free: 12.52 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.009122, allocations: 131.6 kB / 0.9877 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.009301, allocations: 199.5 kB / 0.9879 GB, free: 12.2 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.01007, allocations: 0.8409 MB / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01007, allocations: 0 / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01007, allocations: 0 / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.01008, allocations: 0 / 0.9887 GB, free: 11.36 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001122/0.0112, allocations: 0.7525 MB / 0.9895 GB, free: 10.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.01124, allocations: 8.031 kB / 0.9895 GB, free: 10.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.01149, allocations: 72.56 kB / 0.9895 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.01221, allocations: 297.7 kB / 0.9898 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.01225, allocations: 45.67 kB / 0.9899 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.01233, allocations: 60.31 kB / 0.9899 GB, free: 10.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/0.01316, allocations: 0.5071 MB / 0.9904 GB, free: 9.547 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.01318, allocations: 192 / 0.9904 GB, free: 9.547 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.01322, allocations: 28.31 kB / 0.9905 GB, free: 9.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.01323, allocations: 16.38 kB / 0.9905 GB, free: 9.504 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/0.0139, allocations: 361 kB / 0.9908 GB, free: 9.152 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.01559, allocations: 1.136 MB / 0.9919 GB, free: 7.977 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.01609, allocations: 264.5 kB / 0.9922 GB, free: 7.703 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.01644, allocations: 169.6 kB / 0.9923 GB, free: 7.531 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.01647, allocations: 4 kB / 0.9923 GB, free: 7.527 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.01683, allocations: 200 kB / 0.9925 GB, free: 7.312 MB / 0.948 GB Notification: Performance of pre-optimization done (n=34): time 1.573e-06/0.01683, allocations: 0 / 0.9925 GB, free: 7.312 MB / 0.948 GB Notification: Performance of matching and sorting (n=34): time 0.0007624/0.01759, allocations: 387.9 kB / 0.9929 GB, free: 6.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.01764, allocations: 81.11 kB / 0.993 GB, free: 6.832 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.01793, allocations: 285.7 kB / 0.9933 GB, free: 6.547 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.01796, allocations: 33.7 kB / 0.9933 GB, free: 6.508 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.01815, allocations: 288.6 kB / 0.9936 GB, free: 6.223 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.01823, allocations: 115 kB / 0.9937 GB, free: 6.109 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.01836, allocations: 86.14 kB / 0.9938 GB, free: 6.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01848, allocations: 342.8 kB / 0.9941 GB, free: 5.676 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.01878, allocations: 166.6 kB / 0.9942 GB, free: 5.504 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.0191, allocations: 233.5 kB / 0.9945 GB, free: 5.246 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.01956, allocations: 341.2 kB / 0.9948 GB, free: 4.887 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.01956, allocations: 0 / 0.9948 GB, free: 4.887 MB / 0.948 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005189/0.02008, allocations: 0.4914 MB / 0.9953 GB, free: 4.379 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.02011, allocations: 33.7 kB / 0.9953 GB, free: 4.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.02012, allocations: 4 kB / 0.9953 GB, free: 4.336 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.02013, allocations: 7.938 kB / 0.9953 GB, free: 4.328 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.0203, allocations: 84.08 kB / 0.9954 GB, free: 4.246 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.02032, allocations: 4 kB / 0.9954 GB, free: 4.242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.02048, allocations: 67.69 kB / 0.9955 GB, free: 4.176 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.0205, allocations: 12 kB / 0.9955 GB, free: 4.164 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0001314/0.02063, allocations: 181.6 kB / 0.9956 GB, free: 3.977 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.02065, allocations: 31.8 kB / 0.9957 GB, free: 3.945 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003736/0.02103, allocations: 319.5 kB / 0.996 GB, free: 3.625 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.02103, allocations: 4 kB / 0.996 GB, free: 3.621 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02103, allocations: 0 / 0.996 GB, free: 3.621 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.02104, allocations: 3.984 kB / 0.996 GB, free: 3.617 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.02171, allocations: 0.8294 MB / 0.9968 GB, free: 2.734 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02171, allocations: 192 / 0.9968 GB, free: 2.734 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.02183, allocations: 63.91 kB / 0.9969 GB, free: 2.672 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02183, allocations: 4 kB / 0.9969 GB, free: 2.668 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.02185, allocations: 8 kB / 0.9969 GB, free: 2.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.02185, allocations: 11.88 kB / 0.9969 GB, free: 2.648 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.02186, allocations: 4 kB / 0.9969 GB, free: 2.645 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.02223, allocations: 0.4978 MB / 0.9974 GB, free: 2.109 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.02226, allocations: 39.67 kB / 0.9974 GB, free: 2.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.02228, allocations: 12 kB / 0.9974 GB, free: 2.059 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.02239, allocations: 19.92 kB / 0.9974 GB, free: 2.039 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.02243, allocations: 27.95 kB / 0.9975 GB, free: 2.012 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.02245, allocations: 12 kB / 0.9975 GB, free: 2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001186/0.02256, allocations: 197.2 kB / 0.9977 GB, free: 1.805 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.02256, allocations: 0 / 0.9977 GB, free: 1.805 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002867/0.02285, allocations: 115.6 kB / 0.9978 GB, free: 1.691 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001291/0.02298, allocations: 119.1 kB / 0.9979 GB, free: 1.566 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004324/0.02341, allocations: 395.1 kB / 0.9983 GB, free: 1.164 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.02341, allocations: 0 / 0.9983 GB, free: 1.164 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.02358, allocations: 143.7 kB / 0.9984 GB, free: 1.023 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.02392, allocations: 65.08 kB / 0.9985 GB, free: 0.9609 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.02473, allocations: 0.7502 MB / 0.9992 GB, free: 160 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.02488, allocations: 224.1 kB / 0.9994 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.02494, allocations: 32.5 kB / 0.9994 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.02494, allocations: 0 / 0.9994 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of Templates: time 0.004719/0.02966, allocations: 4.766 MB / 1.004 GB, free: 11.12 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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: 6.789720109663904]