Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",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.001361/0.001361, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001445/0.001445, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.186/2.186, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.199/4.199, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005531/0.0005532, allocations: 11.98 kB / 0.8375 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294/1.295, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004438/1.299, allocations: 2.333 MB / 0.9832 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004267/1.304, allocations: 1.919 MB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/1.304, allocations: 4 kB / 0.985 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/1.305, allocations: 263 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/1.305, allocations: 83.75 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/1.307, allocations: 423.4 kB / 0.9858 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006737/1.308, allocations: 335.4 kB / 0.9861 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/1.308, allocations: 52.67 kB / 0.9861 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/1.308, allocations: 171.5 kB / 0.9863 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/1.309, allocations: 191.4 kB / 0.9865 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/1.309, allocations: 24 kB / 0.9865 GB, free: 484 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/1.309, allocations: 199.8 kB / 0.9867 GB, free: 284 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/1.309, allocations: 151.6 kB / 0.9868 GB, free: 132 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/1.31, allocations: 85.52 kB / 0.9869 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008378/1.31, allocations: 0.5827 MB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.31, allocations: 0 / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.246e-06/1.31, allocations: 0 / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.31, allocations: 0 / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001942/1.312, allocations: 0.7738 MB / 0.9882 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/1.312, allocations: 12.03 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.312e-05/1.313, allocations: 46.55 kB / 0.9883 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/1.316, allocations: 239.3 kB / 0.9885 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/1.317, allocations: 409 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/1.317, allocations: 87.33 kB / 0.989 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/1.317, allocations: 12 kB / 0.989 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/1.319, allocations: 0.5611 MB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.319, allocations: 7.875 kB / 0.9896 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.844e-05/1.32, allocations: 8 kB / 0.9896 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.32, allocations: 0 / 0.9896 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/1.323, allocations: 0.8119 MB / 0.9904 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/1.327, allocations: 1.261 MB / 0.9916 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007747/1.335, allocations: 1.091 MB / 0.9927 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/1.335, allocations: 4.328 kB / 0.9927 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002127/1.337, allocations: 0.559 MB / 0.9932 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 4.117e-06/1.337, allocations: 0 / 0.9932 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.005155/1.342, allocations: 1.276 MB / 0.9945 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/1.342, allocations: 51.41 kB / 0.9945 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.343, allocations: 0.5135 MB / 0.995 GB, free: 7.527 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/1.343, allocations: 33.7 kB / 0.995 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.344, allocations: 204.4 kB / 0.9952 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.344, allocations: 63.09 kB / 0.9953 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/1.344, allocations: 8 kB / 0.9953 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002563/1.344, allocations: 354.7 kB / 0.9957 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/1.346, allocations: 496.5 kB / 0.9961 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/1.348, allocations: 0.517 MB / 0.9966 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/1.349, allocations: 462 kB / 0.9971 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.349, allocations: 0 / 0.9971 GB, free: 5.391 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003706/1.353, allocations: 1.14 MB / 0.9982 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/1.353, allocations: 45.69 kB / 0.9982 GB, free: 4.188 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.353, allocations: 3.984 kB / 0.9982 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.353, allocations: 0 / 0.9982 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/1.354, allocations: 99.89 kB / 0.9983 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.354, allocations: 0 / 0.9983 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/1.355, allocations: 79.86 kB / 0.9984 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/1.355, allocations: 19.98 kB / 0.9984 GB, free: 3.988 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005166/1.355, allocations: 209.7 kB / 0.9986 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/1.356, allocations: 47.39 kB / 0.9987 GB, free: 3.727 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/1.356, allocations: 55.91 kB / 0.9987 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/1.356, allocations: 4 kB / 0.9987 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/1.356, allocations: 0 / 0.9987 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.356, allocations: 0 / 0.9987 GB, free: 3.668 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/1.357, allocations: 0.6299 MB / 0.9993 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.357, allocations: 4 kB / 0.9993 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/1.358, allocations: 115.8 kB / 0.9995 GB, free: 2.871 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/1.358, allocations: 4 kB / 0.9995 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/1.358, allocations: 11.97 kB / 0.9995 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.358, allocations: 0 / 0.9995 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.358, allocations: 0 / 0.9995 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/1.361, allocations: 0.8957 MB / 1 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/1.362, allocations: 192.4 kB / 1.001 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/1.362, allocations: 11.95 kB / 1.001 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/1.363, allocations: 75.92 kB / 1.001 GB, free: 1.648 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.363, allocations: 27.95 kB / 1.001 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/1.363, allocations: 11.98 kB / 1.001 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007436/1.364, allocations: 387.1 kB / 1.001 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.494e-06/1.364, allocations: 0 / 1.001 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006756/1.364, allocations: 103.9 kB / 1.001 GB, free: 1.133 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003885/1.368, allocations: 1.468 MB / 1.003 GB, free: 15.63 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003418/1.372, allocations: 0.9831 MB / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.372, allocations: 0 / 1.004 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/1.373, allocations: 460.4 kB / 1.004 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/1.374, allocations: 85.8 kB / 1.004 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.387, allocations: 4.671 MB / 1.009 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.388, allocations: 0.87 MB / 1.009 GB, free: 8.484 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009805/1.389, allocations: 122.9 kB / 1.01 GB, free: 8.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/1.389, allocations: 135.4 kB / 1.01 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of SimCode: time 1.643e-06/1.389, allocations: 7.875 kB / 1.01 GB, free: 8.227 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04891/1.438, allocations: 12.04 MB / 1.021 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/1.439, allocations: 213.5 kB / 1.022 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/4.852, allocations: 4 kB / 1.022 GB, free: 12.25 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat does not exist to compare? outputFormat=mat