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.0009233/0.0009235, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00118/0.00118, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.685/2.685, allocations: 409.4 MB / 0.684 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004168, allocations: 16 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.813/0.8134, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003141/0.8166, allocations: 2.446 MB / 0.9835 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.8196, allocations: 2.051 MB / 0.9855 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.8197, allocations: 4 kB / 0.9855 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.8205, allocations: 234.8 kB / 0.9858 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.8206, allocations: 67.45 kB / 0.9858 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.8217, allocations: 427.9 kB / 0.9862 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.8222, allocations: 434.6 kB / 0.9867 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.8223, allocations: 50.95 kB / 0.9867 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.8225, allocations: 187.4 kB / 0.9869 GB, free: 392 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.8228, allocations: 191.4 kB / 0.9871 GB, free: 200 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.425e-05/0.8228, allocations: 24 kB / 0.9871 GB, free: 176 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.8232, allocations: 227.7 kB / 0.9873 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.8234, allocations: 143.6 kB / 0.9874 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.8235, allocations: 93.45 kB / 0.9875 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005508/0.824, allocations: 0.565 MB / 0.9881 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8241, allocations: 3.938 kB / 0.9881 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8241, allocations: 0 / 0.9881 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.8241, allocations: 0 / 0.9881 GB, free: 15.14 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.001283/0.8254, allocations: 0.7776 MB / 0.9888 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.8254, allocations: 12.03 kB / 0.9889 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.8255, allocations: 46.55 kB / 0.9889 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.8274, allocations: 243.3 kB / 0.9891 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.828, allocations: 405 kB / 0.9895 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.8281, allocations: 87.33 kB / 0.9896 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.8281, allocations: 12 kB / 0.9896 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.8294, allocations: 0.5534 MB / 0.9902 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8294, allocations: 0 / 0.9902 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.8294, allocations: 8 kB / 0.9902 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.8294, allocations: 0 / 0.9902 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.8313, allocations: 0.8197 MB / 0.991 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.8335, allocations: 1.269 MB / 0.9922 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004691/0.8382, allocations: 1.099 MB / 0.9933 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/0.8391, allocations: 432.9 kB / 0.9937 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.8392, allocations: 0 / 0.9937 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.8403, allocations: 0.5597 MB / 0.9942 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=21): time 2.374e-06/0.8404, allocations: 0 / 0.9942 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21): time 0.003034/0.8434, allocations: 1.259 MB / 0.9955 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.8435, allocations: 63.34 kB / 0.9955 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.8441, allocations: 0.5096 MB / 0.996 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.8442, allocations: 37.69 kB / 0.9961 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.8444, allocations: 204.4 kB / 0.9963 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/0.8445, allocations: 67.09 kB / 0.9963 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.8445, allocations: 4 kB / 0.9963 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8447, allocations: 354.8 kB / 0.9967 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.8457, allocations: 0.4888 MB / 0.9971 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.8467, allocations: 0.513 MB / 0.9976 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.8477, allocations: 459.7 kB / 0.9981 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8477, allocations: 0 / 0.9981 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00224/0.85, allocations: 1.142 MB / 0.9992 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.85, allocations: 42.78 kB / 0.9992 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.8501, allocations: 0 / 0.9992 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8501, allocations: 0 / 0.9992 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.8507, allocations: 103.9 kB / 0.9993 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.8507, allocations: 11.98 kB / 0.9993 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.8512, allocations: 71.88 kB / 0.9994 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.8512, allocations: 15.98 kB / 0.9994 GB, free: 3.246 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.0003301/0.8516, allocations: 213.7 kB / 0.9996 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.8516, allocations: 51.33 kB / 0.9997 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.8518, allocations: 51.91 kB / 0.9997 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.8518, allocations: 4 kB / 0.9997 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.8518, allocations: 0 / 0.9997 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.8518, allocations: 3.938 kB / 0.9997 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000765/0.8526, allocations: 0.6377 MB / 1 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8526, allocations: 0 / 1 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.8531, allocations: 107.9 kB / 1 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8532, allocations: 3.938 kB / 1 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.8532, allocations: 11.98 kB / 1 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.8532, allocations: 0 / 1 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8532, allocations: 0 / 1 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.8555, allocations: 0.8917 MB / 1.001 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.8558, allocations: 192.4 kB / 1.002 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.8558, allocations: 4 kB / 1.002 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005022/0.8563, allocations: 79.92 kB / 1.002 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.8565, allocations: 23.95 kB / 1.002 GB, free: 0.8867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.8565, allocations: 15.98 kB / 1.002 GB, free: 0.8711 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004602/0.857, allocations: 387 kB / 1.002 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.857, allocations: 4 kB / 1.002 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000468/0.8574, allocations: 96 kB / 1.002 GB, free: 408 kB / 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.002588/0.86, allocations: 1.473 MB / 1.004 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002241/0.8623, allocations: 0.987 MB / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8623, allocations: 0 / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.8633, allocations: 446.3 kB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.8639, allocations: 97.77 kB / 1.005 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008623/0.8725, allocations: 4.755 MB / 1.01 GB, free: 8.555 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.873, allocations: 0.8544 MB / 1.011 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005868/0.8736, allocations: 130.9 kB / 1.011 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.8739, allocations: 132.3 kB / 1.011 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of SimCode: time 8.91e-07/0.8739, allocations: 0 / 1.011 GB, free: 7.422 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.9013, allocations: 12.06 MB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.9015, allocations: 219.6 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.969, allocations: 2.812 kB / 1.023 GB, free: 11.43 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