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.0008981/0.0008982, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009157/0.0009159, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.379 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.525/2.525, allocations: 390.4 MB / 0.6655 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8371, allocations: 142.3 MB / 0.9538 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.184/1.021, allocations: 150.9 MB / 1.101 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007763/1.029, allocations: 5.245 MB / 1.106 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/1.029, allocations: 11.88 kB / 1.106 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/1.03, allocations: 63.52 kB / 1.106 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/1.03, allocations: 55.72 kB / 1.106 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/1.031, allocations: 31.91 kB / 1.106 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/1.031, allocations: 215.2 kB / 1.107 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/1.031, allocations: 75.12 kB / 1.107 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/1.032, allocations: 79.64 kB / 1.107 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/1.032, allocations: 51.72 kB / 1.107 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/1.032, allocations: 0 / 1.107 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/1.032, allocations: 4 kB / 1.107 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/1.032, allocations: 23.86 kB / 1.107 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/1.032, allocations: 49.64 kB / 1.107 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/1.032, allocations: 115.7 kB / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.032, allocations: 0 / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.607e-06/1.032, allocations: 4 kB / 1.107 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.023e-06/1.032, allocations: 0 / 1.107 GB, free: 2.766 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.0008957/1.033, allocations: 411 kB / 1.107 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.525e-05/1.033, allocations: 8.031 kB / 1.107 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.347e-05/1.033, allocations: 46.55 kB / 1.108 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.832e-05/1.034, allocations: 19.81 kB / 1.108 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/1.034, allocations: 240.1 kB / 1.108 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/1.034, allocations: 12.23 kB / 1.108 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.034, allocations: 12 kB / 1.108 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004147/1.035, allocations: 174 kB / 1.108 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.035, allocations: 0 / 1.108 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/1.035, allocations: 8 kB / 1.108 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.035, allocations: 0 / 1.108 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/1.035, allocations: 75.83 kB / 1.108 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.036, allocations: 1.148 MB / 1.109 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/1.037, allocations: 169.1 kB / 1.109 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/1.037, allocations: 88.08 kB / 1.109 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-05/1.037, allocations: 75.28 kB / 1.109 GB, free: 92 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/1.037, allocations: 109.8 kB / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 3.577e-06/1.037, allocations: 0 / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001349/1.037, allocations: 45.45 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.037, allocations: 182.1 kB / 1.11 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.038, allocations: 245 kB / 1.11 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/1.038, allocations: 33.7 kB / 1.11 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/1.038, allocations: 135.9 kB / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/1.038, allocations: 0 / 1.11 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/1.038, allocations: 4 kB / 1.11 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.038, allocations: 326.8 kB / 1.11 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/1.038, allocations: 7.938 kB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.038, allocations: 71.66 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/1.038, allocations: 23.94 kB / 1.111 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.038, allocations: 4 kB / 1.111 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002257/1.039, allocations: 81.38 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.039, allocations: 5.406 kB / 1.111 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.039, allocations: 4.281 kB / 1.111 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/1.039, allocations: 4 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.908e-05/1.039, allocations: 15.98 kB / 1.111 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/1.039, allocations: 7.938 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/1.039, allocations: 15.75 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/1.039, allocations: 4 kB / 1.111 GB, free: 14.69 MB / 0.8731 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.000181/1.039, allocations: 209.1 kB / 1.111 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/1.039, allocations: 116.8 kB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/1.039, allocations: 129.8 kB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001009/1.039, allocations: 176.3 kB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001031/1.04, allocations: 176.3 kB / 1.112 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/1.04, allocations: 188.2 kB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/1.04, allocations: 449.2 kB / 1.112 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.181e-05/1.04, allocations: 108.9 kB / 1.112 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/1.04, allocations: 105 kB / 1.112 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.139e-05/1.04, allocations: 184.3 kB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/1.04, allocations: 188.2 kB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-05/1.04, allocations: 176.3 kB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.121e-05/1.04, allocations: 180.2 kB / 1.113 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/1.041, allocations: 327.6 kB / 1.113 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.041, allocations: 193.9 kB / 1.114 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.041, allocations: 184.2 kB / 1.114 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/1.041, allocations: 112.9 kB / 1.114 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/1.041, allocations: 180.3 kB / 1.114 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/1.041, allocations: 104.9 kB / 1.114 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001706/1.041, allocations: 184.5 kB / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.041, allocations: 0 / 1.114 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002454/1.042, allocations: 20 kB / 1.114 GB, free: 10.86 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.0004813/1.042, allocations: 0.8242 MB / 1.115 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001054/1.042, allocations: 23.92 kB / 1.115 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.042, allocations: 0 / 1.115 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.042, allocations: 0 / 1.115 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/1.043, allocations: 0.5777 MB / 1.116 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/1.044, allocations: 0.9515 MB / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/1.045, allocations: 0.7205 MB / 1.117 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.451e-05/1.045, allocations: 21.55 kB / 1.117 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/1.045, allocations: 35.42 kB / 1.117 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.045, allocations: 0 / 1.117 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/1.063, allocations: 3.521 MB / 1.121 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/1.063, allocations: 184.7 kB / 1.121 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.948, allocations: 0 / 1.121 GB, free: 3.961 MB / 0.8731 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