Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp",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.001424/0.001424, allocations: 99.86 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.001631/0.001631, 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.511/2.511, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.265/4.265, allocations: 409.2 MB / 0.6838 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007021/0.0007024, allocations: 12 kB / 0.8375 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38/1.381, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.00205/1.383, allocations: 1.338 MB / 0.9822 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2072/1.59, allocations: 125.5 MB / 1.105 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/1.59, allocations: 0 / 1.105 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003387/1.591, allocations: 43.8 kB / 1.105 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/1.592, allocations: 319 kB / 1.105 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/1.593, allocations: 51.89 kB / 1.105 GB, free: 6.699 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002567/1.593, allocations: 95.78 kB / 1.105 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/1.593, allocations: 9.406 kB / 1.105 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/1.593, allocations: 43.84 kB / 1.105 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/1.593, allocations: 59.81 kB / 1.105 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/1.593, allocations: 8 kB / 1.105 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/1.595, allocations: 379.4 kB / 1.106 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/1.595, allocations: 15.91 kB / 1.106 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/1.595, allocations: 45.64 kB / 1.106 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/1.596, allocations: 231.5 kB / 1.106 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/1.596, allocations: 4 kB / 1.106 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/1.596, allocations: 0 / 1.106 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.596, allocations: 3.938 kB / 1.106 GB, free: 5.816 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001035/1.597, allocations: 466.6 kB / 1.106 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/1.597, allocations: 8.031 kB / 1.106 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.225e-05/1.597, allocations: 109.8 kB / 1.107 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/1.599, allocations: 183 kB / 1.107 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/1.599, allocations: 306.9 kB / 1.107 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/1.6, allocations: 158.5 kB / 1.107 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/1.6, allocations: 162.6 kB / 1.107 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.803e-05/1.6, allocations: 104.9 kB / 1.107 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/1.6, allocations: 75.28 kB / 1.107 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/1.6, allocations: 150.6 kB / 1.108 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.541e-05/1.6, allocations: 150.6 kB / 1.108 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.048e-05/1.6, allocations: 158.6 kB / 1.108 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/1.601, allocations: 0.5096 MB / 1.108 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/1.601, allocations: 169.1 kB / 1.109 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/1.601, allocations: 79.23 kB / 1.109 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.046e-05/1.601, allocations: 109.8 kB / 1.109 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.966e-06/1.601, allocations: 0 / 1.109 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0005292/1.602, allocations: 57.59 kB / 1.109 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.602, allocations: 130.7 kB / 1.109 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/1.602, allocations: 223 kB / 1.109 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/1.602, allocations: 25.7 kB / 1.109 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/1.602, allocations: 108.1 kB / 1.109 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-06/1.602, allocations: 3.938 kB / 1.109 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.602, allocations: 0 / 1.109 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.603, allocations: 322.8 kB / 1.11 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/1.603, allocations: 19.98 kB / 1.11 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/1.603, allocations: 12 kB / 1.11 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/1.603, allocations: 20.12 kB / 1.11 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.603, allocations: 0 / 1.11 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008885/1.604, allocations: 142.3 kB / 1.11 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.04e-05/1.604, allocations: 89 kB / 1.11 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.604, allocations: 0 / 1.11 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/1.605, allocations: 148.7 kB / 1.11 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.605, allocations: 7.984 kB / 1.11 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/1.608, allocations: 1.51 MB / 1.111 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/1.608, allocations: 7.938 kB / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/1.608, allocations: 12 kB / 1.112 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.608, allocations: 4 kB / 1.112 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003317/1.609, allocations: 68.77 kB / 1.112 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.609, allocations: 0 / 1.112 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/1.609, allocations: 112.7 kB / 1.112 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/1.61, allocations: 7.984 kB / 1.112 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/1.611, allocations: 1.359 MB / 1.113 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/1.611, allocations: 19.98 kB / 1.113 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/1.611, allocations: 0 / 1.113 GB, free: 14.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/1.612, allocations: 268.4 kB / 1.113 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/1.612, allocations: 112.8 kB / 1.113 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.612, allocations: 117.5 kB / 1.114 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.095e-05/1.612, allocations: 184.2 kB / 1.114 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.325e-05/1.612, allocations: 180.3 kB / 1.114 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.391e-05/1.612, allocations: 176.3 kB / 1.114 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.612, allocations: 453 kB / 1.114 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/1.612, allocations: 101 kB / 1.115 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/1.612, allocations: 108.9 kB / 1.115 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.034e-05/1.613, allocations: 180.3 kB / 1.115 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/1.613, allocations: 184.5 kB / 1.115 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.164e-05/1.613, allocations: 184.2 kB / 1.115 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.475e-05/1.613, allocations: 180.3 kB / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/1.613, allocations: 327.5 kB / 1.116 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.613, allocations: 197.9 kB / 1.116 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.613, allocations: 180.2 kB / 1.116 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/1.613, allocations: 109 kB / 1.116 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/1.614, allocations: 180.2 kB / 1.116 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/1.614, allocations: 105 kB / 1.116 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002201/1.614, allocations: 168.1 kB / 1.117 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/1.614, allocations: 0 / 1.117 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004981/1.614, allocations: 60 kB / 1.117 GB, free: 10.17 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00068/1.615, allocations: 0.8566 MB / 1.117 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006754/1.616, allocations: 297.3 kB / 1.118 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.616, allocations: 0 / 1.118 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/1.616, allocations: 7.938 kB / 1.118 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/1.616, allocations: 0.5473 MB / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/1.617, allocations: 0.5367 MB / 1.119 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.617, allocations: 0.7044 MB / 1.12 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.861e-05/1.617, allocations: 12.81 kB / 1.12 GB, free: 7.086 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/1.618, allocations: 27.42 kB / 1.12 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of SimCode: time 1.052e-06/1.618, allocations: 0 / 1.12 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/1.636, allocations: 4.236 MB / 1.124 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/1.636, allocations: 234 kB / 1.124 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/4.66, allocations: 0 / 1.124 GB, free: 2.805 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat does not exist to compare? outputFormat=mat