Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u",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.001176/0.001176, allocations: 99.62 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.001317/0.001317, 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 1.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 11.94 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.7602, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1697/0.93, allocations: 139.2 MB / 1.089 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.9348, allocations: 4.471 MB / 1.094 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.9351, allocations: 4 kB / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.9353, allocations: 31.77 kB / 1.094 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.9356, allocations: 83.75 kB / 1.094 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000125/0.9357, allocations: 35.91 kB / 1.094 GB, free: 44 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.9361, allocations: 179.5 kB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.9363, allocations: 63.17 kB / 1.094 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.9365, allocations: 83.7 kB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.9367, allocations: 47.72 kB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.9367, allocations: 0 / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.9367, allocations: 4 kB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.372e-05/0.9367, allocations: 15.94 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.9368, allocations: 57.56 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.9369, allocations: 111.7 kB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.937, allocations: 0 / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.567e-06/0.937, allocations: 0 / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.937, allocations: 0 / 1.095 GB, free: 15.48 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005963/0.9376, allocations: 416.2 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.9376, allocations: 11.97 kB / 1.095 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.9377, allocations: 46.55 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.9378, allocations: 15.81 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.9381, allocations: 238.7 kB / 1.095 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.9381, allocations: 8.234 kB / 1.095 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.9382, allocations: 12 kB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.9384, allocations: 174 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.9384, allocations: 4 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.9385, allocations: 4 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.9385, allocations: 4 kB / 1.095 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.9386, allocations: 71.83 kB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.9396, allocations: 1.152 MB / 1.097 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.9397, allocations: 165.1 kB / 1.097 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.9398, allocations: 75.28 kB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.214e-05/0.9399, allocations: 109.8 kB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.9399, allocations: 4 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.466e-05/0.94, allocations: 49.45 kB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.9401, allocations: 182.1 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.9404, allocations: 245 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.9404, allocations: 25.7 kB / 1.097 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.9405, allocations: 131.9 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-06/0.9405, allocations: 4 kB / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/0.9405, allocations: 0 / 1.098 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.9407, allocations: 326.8 kB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.9407, allocations: 15.98 kB / 1.098 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.9408, allocations: 63.73 kB / 1.098 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.9409, allocations: 23.92 kB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9409, allocations: 3.953 kB / 1.098 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001891/0.9411, allocations: 85.31 kB / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.9411, allocations: 9.094 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9411, allocations: 3.984 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.9411, allocations: 4 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.9412, allocations: 4 kB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.9412, allocations: 4 kB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.9413, allocations: 23.91 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.9414, allocations: 7.938 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001562/0.9415, allocations: 205.1 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.9416, allocations: 128.7 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.482e-05/0.9417, allocations: 117.9 kB / 1.099 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.932e-05/0.9418, allocations: 184.2 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.493e-05/0.9419, allocations: 184.3 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/0.942, allocations: 180.2 kB / 1.099 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.9423, allocations: 453.1 kB / 1.099 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-05/0.9423, allocations: 101 kB / 1.1 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.9424, allocations: 112.9 kB / 1.1 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-05/0.9425, allocations: 184.3 kB / 1.1 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.9425, allocations: 176.3 kB / 1.1 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.025e-05/0.9426, allocations: 180.2 kB / 1.1 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.265e-05/0.9427, allocations: 176.3 kB / 1.1 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.9428, allocations: 327.6 kB / 1.101 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.9429, allocations: 193.9 kB / 1.101 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.9431, allocations: 192.1 kB / 1.101 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.9432, allocations: 101 kB / 1.101 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/0.9433, allocations: 180.2 kB / 1.101 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.9433, allocations: 109 kB / 1.101 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001656/0.9435, allocations: 184.5 kB / 1.102 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9435, allocations: 4 kB / 1.102 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002582/0.9437, allocations: 20 kB / 1.102 GB, free: 7.664 MB / 0.8575 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.0004043/0.9442, allocations: 0.8164 MB / 1.102 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.924e-05/0.9443, allocations: 27.98 kB / 1.102 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9443, allocations: 0 / 1.102 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.9443, allocations: 0 / 1.102 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.9449, allocations: 0.5776 MB / 1.103 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.9464, allocations: 1.553 MB / 1.105 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.9468, allocations: 0.7282 MB / 1.105 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.396e-05/0.9469, allocations: 25.53 kB / 1.105 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.9469, allocations: 35.42 kB / 1.105 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of SimCode: time 7.31e-07/0.9469, allocations: 0 / 1.105 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.9616, allocations: 3.512 MB / 1.109 GB, free: 412 kB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.9618, allocations: 172 kB / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.766, allocations: 0 / 1.109 GB, free: 168 kB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat