Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009745/0.0009745, allocations: 80.81 kB / 20.75 MB, free: 3.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 161 kB / 24.17 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.016/2.016, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floSpl.outlet.[0-9,]+..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0.6562 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.673e-05, allocations: 5.406 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1323/0.1323, allocations: 144.6 MB / 0.9012 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.1326, allocations: 183.3 kB / 0.9014 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1327, allocations: 7.938 kB / 0.9014 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.133, allocations: 55.52 kB / 0.9015 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1331, allocations: 59.53 kB / 0.9015 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.1332, allocations: 31.97 kB / 0.9016 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1334, allocations: 215 kB / 0.9018 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1336, allocations: 63.56 kB / 0.9018 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.1338, allocations: 123.6 kB / 0.9019 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1339, allocations: 59.81 kB / 0.902 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1339, allocations: 8 kB / 0.902 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.1339, allocations: 12 kB / 0.902 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.1339, allocations: 23.92 kB / 0.902 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.134, allocations: 51.84 kB / 0.9021 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1341, allocations: 103.5 kB / 0.9022 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1341, allocations: 0 / 0.9022 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1341, allocations: 0 / 0.9022 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.1341, allocations: 0 / 0.9022 GB, free: 4.711 MB / 0.8542 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.000545/0.1347, allocations: 344.5 kB / 0.9025 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.1347, allocations: 12.03 kB / 0.9025 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1347, allocations: 20.92 kB / 0.9026 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1349, allocations: 186.6 kB / 0.9027 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1349, allocations: 8.609 kB / 0.9027 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1349, allocations: 20.31 kB / 0.9028 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1351, allocations: 193.5 kB / 0.9029 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.1351, allocations: 3.938 kB / 0.9029 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1351, allocations: 4 kB / 0.903 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1351, allocations: 4 kB / 0.903 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.1352, allocations: 34.75 kB / 0.903 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.1356, allocations: 0.9776 MB / 0.9039 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.1357, allocations: 165.1 kB / 0.9041 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.1357, allocations: 88.12 kB / 0.9042 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.1357, allocations: 79.28 kB / 0.9043 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.1357, allocations: 113.8 kB / 0.9044 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.1357, allocations: 0 / 0.9044 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.369e-05/0.1358, allocations: 33.7 kB / 0.9044 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.1359, allocations: 182.1 kB / 0.9046 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.136, allocations: 162.6 kB / 0.9047 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.136, allocations: 29.7 kB / 0.9048 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.136, allocations: 135.7 kB / 0.9049 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.136, allocations: 4 kB / 0.9049 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.1361, allocations: 17.72 kB / 0.9049 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.1361, allocations: 330.8 kB / 0.9052 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.1361, allocations: 2.828 kB / 0.9052 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.1362, allocations: 174.6 kB / 0.9054 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/0.1362, allocations: 45.89 kB / 0.9054 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1362, allocations: 0 / 0.9054 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.956e-05/0.1363, allocations: 71.27 kB / 0.9055 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1363, allocations: 8 kB / 0.9055 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1363, allocations: 0 / 0.9055 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1363, allocations: 0 / 0.9055 GB, free: 1.008 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.1364, allocations: 12 kB / 0.9055 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.1364, allocations: 4 kB / 0.9055 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.1364, allocations: 11.89 kB / 0.9055 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.1364, allocations: 0 / 0.9055 GB, free: 0.9805 MB / 0.8542 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.1365, allocations: 199.8 kB / 0.9057 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1365, allocations: 105 kB / 0.9058 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.1366, allocations: 125.5 kB / 0.9059 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/0.1366, allocations: 184.2 kB / 0.9061 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.3e-05/0.1366, allocations: 176.3 kB / 0.9063 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/0.1367, allocations: 180.3 kB / 0.9065 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.1368, allocations: 353.3 kB / 0.9068 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.1368, allocations: 105 kB / 0.9069 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.1369, allocations: 104.9 kB / 0.907 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.672e-05/0.1369, allocations: 184.3 kB / 0.9072 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.1369, allocations: 192.2 kB / 0.9074 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.525e-05/0.137, allocations: 176.3 kB / 0.9075 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.399e-05/0.137, allocations: 176.3 kB / 0.9077 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.548e-05/0.1371, allocations: 319.7 kB / 0.908 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.1371, allocations: 112.9 kB / 0.9081 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.1372, allocations: 184.2 kB / 0.9083 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.1372, allocations: 101 kB / 0.9084 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1373, allocations: 184.2 kB / 0.9086 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1373, allocations: 101 kB / 0.9087 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.532e-05/0.1373, allocations: 42.81 kB / 0.9087 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1373, allocations: 0 / 0.9087 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001373/0.1375, allocations: 27.89 kB / 0.9087 GB, free: 13.54 MB / 0.8698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.545e-05/0.1375, allocations: 155.7 kB / 0.9089 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.68e-05/0.1376, allocations: 24.78 kB / 0.9089 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1376, allocations: 4 kB / 0.9089 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.1376, allocations: 0 / 0.9089 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.1378, allocations: 471.6 kB / 0.9093 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.1384, allocations: 307.7 kB / 0.9096 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.644e-05/0.1384, allocations: 71.5 kB / 0.9097 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.1385, allocations: 12.48 kB / 0.9097 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.1385, allocations: 67.38 kB / 0.9098 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/0.1385, allocations: 0 / 0.9098 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.002462/0.141, allocations: 0.8847 MB / 0.9106 GB, free: 11.53 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.275163381360471]