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.001315/0.001315, 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.001862/0.001862, allocations: 177.3 kB / 15.94 MB, free: 228 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.776/2.776, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.766/5.766, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007309/0.0007311, allocations: 12 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866/1.866, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.3517/2.218, allocations: 139.2 MB / 1.117 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01019/2.228, allocations: 4.455 MB / 1.121 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/2.229, allocations: 7.938 kB / 1.121 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006561/2.23, allocations: 39.81 kB / 1.121 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007498/2.231, allocations: 79.7 kB / 1.121 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/2.231, allocations: 31.97 kB / 1.121 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009099/2.232, allocations: 175.6 kB / 1.121 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004359/2.232, allocations: 70.89 kB / 1.121 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/2.233, allocations: 79.69 kB / 1.122 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/2.233, allocations: 39.8 kB / 1.122 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/2.233, allocations: 7.938 kB / 1.122 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/2.233, allocations: 0 / 1.122 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.597e-05/2.233, allocations: 19.92 kB / 1.122 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/2.234, allocations: 49.64 kB / 1.122 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/2.234, allocations: 131.6 kB / 1.122 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/2.234, allocations: 0 / 1.122 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.118e-06/2.234, allocations: 0 / 1.122 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.36e-05/2.234, allocations: 0 / 1.122 GB, free: 5.613 MB / 0.8731 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.001188/2.235, allocations: 414.8 kB / 1.122 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.543e-05/2.235, allocations: 8.031 kB / 1.122 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/2.235, allocations: 46.55 kB / 1.122 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/2.235, allocations: 19.81 kB / 1.122 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/2.236, allocations: 243.9 kB / 1.123 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/2.236, allocations: 12 kB / 1.123 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/2.236, allocations: 8 kB / 1.123 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/2.237, allocations: 164.4 kB / 1.123 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/2.237, allocations: 0 / 1.123 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/2.237, allocations: 4 kB / 1.123 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/2.237, allocations: 8 kB / 1.123 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/2.237, allocations: 75.83 kB / 1.123 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/2.239, allocations: 1.152 MB / 1.124 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/2.239, allocations: 169.1 kB / 1.124 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.809e-05/2.239, allocations: 83.22 kB / 1.124 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.454e-05/2.24, allocations: 109.8 kB / 1.124 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/2.24, allocations: 0 / 1.124 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001556/2.24, allocations: 41.52 kB / 1.124 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/2.24, allocations: 178.1 kB / 1.124 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/2.24, allocations: 249 kB / 1.125 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/2.24, allocations: 25.7 kB / 1.125 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/2.241, allocations: 135.9 kB / 1.125 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/2.241, allocations: 3.984 kB / 1.125 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/2.241, allocations: 4 kB / 1.125 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002499/2.241, allocations: 326.8 kB / 1.125 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/2.241, allocations: 8 kB / 1.125 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/2.241, allocations: 67.66 kB / 1.125 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.181e-05/2.241, allocations: 23.98 kB / 1.125 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/2.241, allocations: 3.938 kB / 1.125 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003274/2.242, allocations: 85.5 kB / 1.125 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/2.242, allocations: 4 kB / 1.125 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/2.242, allocations: 8.156 kB / 1.125 GB, free: 1.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/2.242, allocations: 4 kB / 1.125 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/2.242, allocations: 11.98 kB / 1.125 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/2.242, allocations: 0 / 1.125 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/2.242, allocations: 19.75 kB / 1.125 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/2.242, allocations: 3.938 kB / 1.125 GB, free: 1.621 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.0002782/2.242, allocations: 213 kB / 1.126 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/2.242, allocations: 116.8 kB / 1.126 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/2.243, allocations: 129.8 kB / 1.126 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/2.243, allocations: 176.3 kB / 1.126 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000105/2.243, allocations: 180.3 kB / 1.126 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001419/2.243, allocations: 180.2 kB / 1.126 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004773/2.244, allocations: 453.1 kB / 1.127 GB, free: 108 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.355e-05/2.244, allocations: 108.9 kB / 1.127 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/2.244, allocations: 105.1 kB / 1.127 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.131e-05/2.244, allocations: 180.3 kB / 1.127 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/2.244, allocations: 188.2 kB / 1.127 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-05/2.244, allocations: 188.3 kB / 1.128 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.475e-05/2.244, allocations: 180.2 kB / 1.128 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/2.244, allocations: 315.6 kB / 1.128 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/2.245, allocations: 205.8 kB / 1.128 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/2.245, allocations: 176.3 kB / 1.128 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/2.245, allocations: 104.9 kB / 1.128 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/2.245, allocations: 192.2 kB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/2.245, allocations: 101 kB / 1.129 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003428/2.246, allocations: 180.4 kB / 1.129 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/2.246, allocations: 0 / 1.129 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004526/2.246, allocations: 24 kB / 1.129 GB, free: 13.79 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.0007761/2.247, allocations: 0.8242 MB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002033/2.247, allocations: 19.92 kB / 1.13 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/2.247, allocations: 4 kB / 1.13 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/2.247, allocations: 0 / 1.13 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/2.248, allocations: 0.5679 MB / 1.13 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/2.252, allocations: 1.548 MB / 1.132 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/2.252, allocations: 0.7244 MB / 1.133 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001833/2.253, allocations: 21.53 kB / 1.133 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/2.253, allocations: 47.42 kB / 1.133 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of SimCode: time 2.174e-06/2.253, allocations: 0 / 1.133 GB, free: 9.906 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05622/2.309, allocations: 3.502 MB / 1.136 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004171/2.31, allocations: 180.5 kB / 1.136 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/5.494, allocations: 6.688 kB / 1.136 GB, free: 6.305 MB / 0.8887 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