Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_latest_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.001599/0.001599, allocations: 90.75 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.002127/0.002128, 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.459/1.459, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.694/2.694, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7487, allocations: 146.8 MB / 0.9811 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1664/0.9151, allocations: 150.9 MB / 1.128 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005338/0.9205, allocations: 5.253 MB / 1.134 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.9207, allocations: 4 kB / 1.134 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.9211, allocations: 71.5 kB / 1.134 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.9213, allocations: 51.62 kB / 1.134 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.9214, allocations: 23.97 kB / 1.134 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.9217, allocations: 227.1 kB / 1.134 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.9219, allocations: 70.89 kB / 1.134 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.9221, allocations: 79.64 kB / 1.134 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.9222, allocations: 59.7 kB / 1.134 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.9222, allocations: 4 kB / 1.134 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.9223, allocations: 0 / 1.134 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.9223, allocations: 15.92 kB / 1.134 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.9224, allocations: 57.58 kB / 1.134 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.9225, allocations: 115.7 kB / 1.134 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9225, allocations: 0 / 1.134 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9225, allocations: 0 / 1.134 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9225, allocations: 0 / 1.134 GB, free: 8.918 MB / 0.8887 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.0005675/0.9231, allocations: 414.8 kB / 1.135 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.9232, allocations: 12.03 kB / 1.135 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.819e-05/0.9232, allocations: 42.56 kB / 1.135 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.9233, allocations: 15.81 kB / 1.135 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.9236, allocations: 250.5 kB / 1.135 GB, free: 8.102 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.9236, allocations: 8 kB / 1.135 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.9236, allocations: 12 kB / 1.135 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.9239, allocations: 160.5 kB / 1.135 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.9239, allocations: 4 kB / 1.135 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.9239, allocations: 8 kB / 1.135 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.9239, allocations: 4 kB / 1.135 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.924, allocations: 67.83 kB / 1.135 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.9251, allocations: 1.156 MB / 1.136 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.312e-05/0.9252, allocations: 165.1 kB / 1.137 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.9253, allocations: 84.14 kB / 1.137 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.9253, allocations: 75.28 kB / 1.137 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.9253, allocations: 109.8 kB / 1.137 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.9254, allocations: 0 / 1.137 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.22e-05/0.9254, allocations: 53.44 kB / 1.137 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.9255, allocations: 178.1 kB / 1.137 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.9258, allocations: 249 kB / 1.137 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9258, allocations: 29.7 kB / 1.137 GB, free: 5.578 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.9259, allocations: 135.9 kB / 1.137 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-06/0.9259, allocations: 0 / 1.137 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.9259, allocations: 4 kB / 1.137 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.926, allocations: 330.8 kB / 1.138 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.926, allocations: 11.98 kB / 1.138 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.9261, allocations: 71.66 kB / 1.138 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.9262, allocations: 15.94 kB / 1.138 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9262, allocations: 0 / 1.138 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001504/0.9263, allocations: 89.39 kB / 1.138 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9263, allocations: 8 kB / 1.138 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.9263, allocations: 0 / 1.138 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.9264, allocations: 4 kB / 1.138 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.9264, allocations: 4 kB / 1.138 GB, free: 4.871 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.9264, allocations: 8.109 kB / 1.138 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.493e-05/0.9265, allocations: 23.75 kB / 1.138 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.9265, allocations: 4 kB / 1.138 GB, free: 4.836 MB / 0.8887 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.0001273/0.9267, allocations: 209.2 kB / 1.138 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.9267, allocations: 124.7 kB / 1.138 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.9268, allocations: 117.8 kB / 1.138 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.347e-05/0.9269, allocations: 180.2 kB / 1.139 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-05/0.9269, allocations: 184.2 kB / 1.139 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/0.927, allocations: 176.3 kB / 1.139 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.9273, allocations: 461.1 kB / 1.139 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.319e-05/0.9274, allocations: 105 kB / 1.14 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.9274, allocations: 104.9 kB / 1.14 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.9275, allocations: 180.3 kB / 1.14 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.9277, allocations: 180.3 kB / 1.14 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.046e-05/0.9277, allocations: 180.2 kB / 1.14 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001231/0.9279, allocations: 184.2 kB / 1.14 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.928, allocations: 327.5 kB / 1.141 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.9281, allocations: 202.1 kB / 1.141 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.9282, allocations: 180.3 kB / 1.141 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.9284, allocations: 109 kB / 1.141 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.9284, allocations: 180.2 kB / 1.141 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.9285, allocations: 108.9 kB / 1.141 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001622/0.9287, allocations: 184.5 kB / 1.142 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9287, allocations: 0 / 1.142 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002834/0.929, allocations: 20 kB / 1.142 GB, free: 1 MB / 0.8887 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.0003647/0.9293, allocations: 0.8241 MB / 1.142 GB, free: 152 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 8.013e-05/0.9294, allocations: 19.94 kB / 1.142 GB, free: 132 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9294, allocations: 4 kB / 1.142 GB, free: 128 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.9294, allocations: 0 / 1.142 GB, free: 128 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.93, allocations: 0.5777 MB / 1.143 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.9313, allocations: 0.9476 MB / 1.144 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.9316, allocations: 0.7205 MB / 1.145 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.091e-05/0.9317, allocations: 21.53 kB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.9318, allocations: 39.44 kB / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.9318, allocations: 4 kB / 1.145 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.9446, allocations: 3.515 MB / 1.148 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/0.9448, allocations: 193.9 kB / 1.148 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.893, allocations: 0 / 1.148 GB, free: 10.11 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat does not exist to compare? outputFormat=mat