Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 100.8 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 195.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.53 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3076, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003481/0.3111, allocations: 2.225 MB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001987/0.3131, allocations: 1.529 MB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.3133, allocations: 8 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.3134, allocations: 59.2 kB / 1.023 GB, free: 6.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.3137, allocations: 87.09 kB / 1.023 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006992/0.3144, allocations: 305 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.315, allocations: 0.6488 MB / 1.024 GB, free: 4.992 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.3155, allocations: 361.7 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.3158, allocations: 227.2 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.3161, allocations: 266.7 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.118e-05/0.3162, allocations: 68 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3164, allocations: 87.98 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3165, allocations: 131.5 kB / 1.025 GB, free: 3.863 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.3168, allocations: 290.6 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.3175, allocations: 0.7901 MB / 1.026 GB, free: 2.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3175, allocations: 0 / 1.026 GB, free: 2.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.325e-06/0.3175, allocations: 8 kB / 1.026 GB, free: 2.777 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3175, allocations: 0 / 1.026 GB, free: 2.777 MB / 0.795 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.001314/0.3189, allocations: 0.819 MB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3189, allocations: 12.56 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.319, allocations: 60.28 kB / 1.027 GB, free: 1.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.3196, allocations: 355.7 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.3196, allocations: 41.69 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.3197, allocations: 60.36 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008279/0.3205, allocations: 0.4992 MB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3206, allocations: 4.125 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.3206, allocations: 27.94 kB / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3206, allocations: 12 kB / 1.028 GB, free: 0.793 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006727/0.3213, allocations: 360.7 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.3233, allocations: 1.442 MB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.3238, allocations: 281.4 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.3243, allocations: 185.5 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.3243, allocations: 7.984 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004724/0.3248, allocations: 203.4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 2.294e-06/0.3248, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.000891/0.3257, allocations: 387.9 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.3258, allocations: 81.11 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.3263, allocations: 409.5 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3263, allocations: 37.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.3265, allocations: 259.9 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.3267, allocations: 118.4 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3269, allocations: 86.02 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3271, allocations: 354.8 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.3274, allocations: 128.8 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.3277, allocations: 215 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.3284, allocations: 339 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3284, allocations: 7.766 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008961/0.3293, allocations: 464.3 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.3294, allocations: 41.69 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3294, allocations: 192 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.3295, allocations: 8 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.3298, allocations: 83.83 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.3298, allocations: 7.938 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3302, allocations: 75.34 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.3302, allocations: 19.98 kB / 1.033 GB, free: 11.04 MB / 0.8106 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.0001914/0.3304, allocations: 165.8 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.3305, allocations: 47.44 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006417/0.3311, allocations: 330.8 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3311, allocations: 4 kB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.3312, allocations: 7.938 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3312, allocations: 3.984 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.3324, allocations: 0.9707 MB / 1.034 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3325, allocations: 4 kB / 1.034 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.3327, allocations: 55.91 kB / 1.034 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.3327, allocations: 8.188 kB / 1.034 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3327, allocations: 11.98 kB / 1.034 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3327, allocations: 11.88 kB / 1.034 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3328, allocations: 0 / 1.034 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.3335, allocations: 0.5161 MB / 1.035 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.3336, allocations: 128.5 kB / 1.035 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3337, allocations: 8 kB / 1.035 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3339, allocations: 15.98 kB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.334, allocations: 23.97 kB / 1.035 GB, free: 8.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.334, allocations: 19.94 kB / 1.035 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000349/0.3344, allocations: 287.2 kB / 1.035 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3344, allocations: 0 / 1.035 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004794/0.3349, allocations: 107.7 kB / 1.036 GB, free: 8.199 MB / 0.8106 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.0002638/0.3351, allocations: 119.2 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007692/0.3359, allocations: 380.2 kB / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3359, allocations: 0 / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.3362, allocations: 139.7 kB / 1.036 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.3368, allocations: 68.94 kB / 1.036 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3379, allocations: 0.7258 MB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3384, allocations: 0.8236 MB / 1.038 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.3385, allocations: 47.25 kB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.3386, allocations: 35.44 kB / 1.038 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3386, allocations: 4 kB / 1.038 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of Templates: time 0.008308/0.3469, allocations: 3.968 MB / 1.042 GB, free: 1.863 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches