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.001199/0.001198, allocations: 109.4 kB / 15.69 MB, free: 128 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.001342/0.001342, allocations: 188.4 kB / 16.62 MB, free: 6.582 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.729/1.729, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001592/0.001593, allocations: 70.89 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2213, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004054/0.2254, allocations: 2.397 MB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002878/0.2284, allocations: 1.553 MB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.2287, allocations: 8 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.229, allocations: 63.14 kB / 0.7876 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.2293, allocations: 110.8 kB / 0.7877 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.23, allocations: 310.9 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007435/0.2308, allocations: 0.7032 MB / 0.7887 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.2313, allocations: 373.7 kB / 0.789 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.2316, allocations: 247.1 kB / 0.7892 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.232, allocations: 294.5 kB / 0.7895 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.524e-05/0.2321, allocations: 76 kB / 0.7896 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2322, allocations: 91.98 kB / 0.7897 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2323, allocations: 143.5 kB / 0.7898 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.2326, allocations: 322.3 kB / 0.7901 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.2335, allocations: 0.8954 MB / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2335, allocations: 0 / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2335, allocations: 3.938 kB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.2335, allocations: 0 / 0.791 GB, free: 5.652 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.001409/0.2349, allocations: 0.9137 MB / 0.7919 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.235, allocations: 12.03 kB / 0.7919 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.593e-05/0.2351, allocations: 94.7 kB / 0.792 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2352, allocations: 72.09 kB / 0.7921 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.2359, allocations: 471.1 kB / 0.7925 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.2359, allocations: 45.62 kB / 0.7926 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/0.236, allocations: 60.38 kB / 0.7926 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007964/0.2368, allocations: 0.4911 MB / 0.7931 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2369, allocations: 3.938 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.2369, allocations: 23.98 kB / 0.7931 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.2369, allocations: 20 kB / 0.7931 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.2376, allocations: 340.3 kB / 0.7935 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2398, allocations: 1.445 MB / 0.7949 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.2403, allocations: 281.4 kB / 0.7952 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/0.2407, allocations: 177.6 kB / 0.7953 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.2408, allocations: 4 kB / 0.7953 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/0.2412, allocations: 193 kB / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.2412, allocations: 0 / 0.7955 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0007935/0.242, allocations: 388.3 kB / 0.7959 GB, free: 444 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.2421, allocations: 85.09 kB / 0.796 GB, free: 340 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000535/0.2426, allocations: 0.4902 MB / 0.7964 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.2427, allocations: 41.7 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.2429, allocations: 295.9 kB / 0.7968 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.472e-05/0.243, allocations: 102.5 kB / 0.7969 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2432, allocations: 85.97 kB / 0.7969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2433, allocations: 362.8 kB / 0.7973 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.2436, allocations: 124.8 kB / 0.7974 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.2439, allocations: 209.9 kB / 0.7976 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.2444, allocations: 332.4 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2444, allocations: 3.938 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008044/0.2452, allocations: 475.8 kB / 0.7984 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.2453, allocations: 37.7 kB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2453, allocations: 4 kB / 0.7984 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.2453, allocations: 4 kB / 0.7984 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2456, allocations: 83.83 kB / 0.7985 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2457, allocations: 4 kB / 0.7985 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.246, allocations: 83.22 kB / 0.7986 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.2461, allocations: 19.98 kB / 0.7986 GB, free: 13.52 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.000221/0.2463, allocations: 177.8 kB / 0.7988 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.2464, allocations: 47.34 kB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/0.247, allocations: 329.6 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2471, allocations: 4 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2471, allocations: 0 / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2471, allocations: 7.938 kB / 0.7991 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.2482, allocations: 0.9446 MB / 0.8001 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2483, allocations: 4 kB / 0.8001 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2485, allocations: 63.97 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2485, allocations: 4 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.2485, allocations: 8 kB / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.2485, allocations: 7.938 kB / 0.8002 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2485, allocations: 0 / 0.8002 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.2491, allocations: 0.4915 MB / 0.8006 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2493, allocations: 140.3 kB / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.2493, allocations: 8 kB / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2495, allocations: 15.92 kB / 0.8008 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.2496, allocations: 19.98 kB / 0.8008 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.2496, allocations: 23.92 kB / 0.8008 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003491/0.25, allocations: 342.9 kB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.25, allocations: 0 / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004683/0.2505, allocations: 107.7 kB / 0.8013 GB, free: 10.66 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.0009619/0.2514, allocations: 1.051 MB / 0.8023 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007129/0.2522, allocations: 375.1 kB / 0.8026 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2522, allocations: 0 / 0.8026 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.2524, allocations: 131.8 kB / 0.8028 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.253, allocations: 78.83 kB / 0.8028 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.2583, allocations: 4.067 MB / 0.8068 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.2587, allocations: 0.8431 MB / 0.8076 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.2589, allocations: 60.25 kB / 0.8077 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.2592, allocations: 191.4 kB / 0.8079 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2592, allocations: 0 / 0.8079 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.2848, allocations: 7.876 MB / 0.8156 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.601/8.886, allocations: 14.2 kB / 0.8156 GB, free: 11.95 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)