Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001065, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009865/0.0009866, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.8/1.8, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.48 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2994, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004896/0.3043, allocations: 2.39 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.3073, allocations: 1.549 MB / 0.7873 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.308, allocations: 8 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3082, allocations: 67.12 kB / 0.7874 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.3089, allocations: 106.8 kB / 0.7875 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.31, allocations: 308.7 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.3115, allocations: 0.7149 MB / 0.7885 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008246/0.3123, allocations: 353.8 kB / 0.7888 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.3129, allocations: 259.1 kB / 0.7891 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.3134, allocations: 286.6 kB / 0.7894 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.3136, allocations: 76 kB / 0.7894 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.3139, allocations: 91.98 kB / 0.7895 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.3141, allocations: 143.5 kB / 0.7897 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.3145, allocations: 322.3 kB / 0.79 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3156, allocations: 0.8607 MB / 0.7908 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3156, allocations: 4 kB / 0.7908 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3156, allocations: 0 / 0.7908 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.02e-05/0.3156, allocations: 3.938 kB / 0.7908 GB, free: 5.805 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00178/0.3174, allocations: 0.9137 MB / 0.7917 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3175, allocations: 12.03 kB / 0.7917 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.3176, allocations: 98.7 kB / 0.7918 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.3177, allocations: 68.09 kB / 0.7919 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.3184, allocations: 471 kB / 0.7923 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.3185, allocations: 41.69 kB / 0.7924 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.3185, allocations: 56.38 kB / 0.7924 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.3194, allocations: 0.499 MB / 0.7929 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3194, allocations: 3.938 kB / 0.7929 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.3195, allocations: 20 kB / 0.7929 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3195, allocations: 12 kB / 0.7929 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.3202, allocations: 348.3 kB / 0.7933 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.3227, allocations: 1.468 MB / 0.7947 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.3233, allocations: 277.4 kB / 0.795 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.3237, allocations: 169.6 kB / 0.7951 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.3237, allocations: 4 kB / 0.7951 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/0.3242, allocations: 196.9 kB / 0.7953 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.3243, allocations: 0 / 0.7953 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0009127/0.3252, allocations: 391.3 kB / 0.7957 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3252, allocations: 81.11 kB / 0.7958 GB, free: 484 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/0.3258, allocations: 0.4903 MB / 0.7962 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.3259, allocations: 33.7 kB / 0.7963 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.3262, allocations: 307.8 kB / 0.7966 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.626e-05/0.3262, allocations: 102.5 kB / 0.7967 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3264, allocations: 77.97 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3266, allocations: 362.8 kB / 0.7971 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/0.3269, allocations: 128.8 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.3272, allocations: 205.9 kB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.3277, allocations: 335.2 kB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3277, allocations: 0 / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008397/0.3286, allocations: 487.5 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.3287, allocations: 37.7 kB / 0.7982 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.3287, allocations: 0 / 0.7982 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/0.3287, allocations: 7.984 kB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.3291, allocations: 71.91 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3291, allocations: 4 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.3295, allocations: 83.27 kB / 0.7984 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.3295, allocations: 20 kB / 0.7984 GB, free: 13.66 MB / 0.6231 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 (46): * Single equations (assignments): 45 * 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.0002302/0.3298, allocations: 186.4 kB / 0.7986 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.525e-05/0.3298, allocations: 51.34 kB / 0.7986 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006832/0.3305, allocations: 321.7 kB / 0.7989 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3306, allocations: 4 kB / 0.7989 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.3306, allocations: 8 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.3306, allocations: 7.922 kB / 0.799 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3319, allocations: 0.9401 MB / 0.7999 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3319, allocations: 0 / 0.7999 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.3321, allocations: 71.91 kB / 0.7999 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3321, allocations: 4 kB / 0.8 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3322, allocations: 11.98 kB / 0.8 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3322, allocations: 0 / 0.8 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.3322, allocations: 7.984 kB / 0.8 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.3328, allocations: 0.4954 MB / 0.8005 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.333, allocations: 136.3 kB / 0.8006 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.3331, allocations: 8 kB / 0.8006 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3333, allocations: 15.98 kB / 0.8006 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.3334, allocations: 23.97 kB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.3334, allocations: 15.94 kB / 0.8006 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004127/0.3338, allocations: 350.9 kB / 0.801 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3338, allocations: 0 / 0.801 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004622/0.3343, allocations: 103.7 kB / 0.8011 GB, free: 10.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (32): * Single equations (assignments): 31 * 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.001169/0.3354, allocations: 1.051 MB / 0.8021 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.3363, allocations: 393.4 kB / 0.8025 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3363, allocations: 0 / 0.8025 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.3366, allocations: 123.8 kB / 0.8026 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006246/0.3372, allocations: 78.83 kB / 0.8027 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/0.3428, allocations: 4.142 MB / 0.8067 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.3433, allocations: 0.847 MB / 0.8075 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000215/0.3435, allocations: 64.19 kB / 0.8076 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.3437, allocations: 187.4 kB / 0.8078 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of SimCode: time 8.41e-07/0.3438, allocations: 0 / 0.8078 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.3713, allocations: 7.86 MB / 0.8155 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.369, allocations: 448 / 0.8155 GB, free: 12.02 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1)