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.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.00152/0.00152, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001862/0.001862, allocations: 169 kB / 23.27 MB, free: 1.227 MB / 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 0.9906/0.9906, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.451/2.451, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.142e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1245/0.1245, allocations: 142.4 MB / 1.029 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.000329/0.1248, allocations: 179.3 kB / 1.029 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1249, allocations: 15.88 kB / 1.029 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.1252, allocations: 51.58 kB / 1.029 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.1254, allocations: 63.48 kB / 1.029 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.1255, allocations: 31.97 kB / 1.029 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.1257, allocations: 215 kB / 1.029 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1259, allocations: 69.03 kB / 1.029 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1261, allocations: 111.8 kB / 1.03 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1262, allocations: 63.8 kB / 1.03 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1262, allocations: 8 kB / 1.03 GB, free: 9.961 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.1262, allocations: 12 kB / 1.03 GB, free: 9.949 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.834e-05/0.1263, allocations: 31.84 kB / 1.03 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1263, allocations: 47.86 kB / 1.03 GB, free: 9.871 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1265, allocations: 103.5 kB / 1.03 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1265, allocations: 0 / 1.03 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1265, allocations: 0 / 1.03 GB, free: 9.77 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.1265, allocations: 0 / 1.03 GB, free: 9.77 MB / 0.9948 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.000416/0.1269, allocations: 471.8 kB / 1.03 GB, free: 9.273 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1269, allocations: 12.62 kB / 1.03 GB, free: 9.262 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.127, allocations: 20.84 kB / 1.03 GB, free: 9.242 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1272, allocations: 208.2 kB / 1.03 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1272, allocations: 8.609 kB / 1.03 GB, free: 9.004 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.1272, allocations: 12.38 kB / 1.03 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1274, allocations: 217.5 kB / 1.031 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1274, allocations: 4 kB / 1.031 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1274, allocations: 4 kB / 1.031 GB, free: 8.723 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1274, allocations: 4 kB / 1.031 GB, free: 8.719 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.824e-05/0.1274, allocations: 43.84 kB / 1.031 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.1283, allocations: 1.475 MB / 1.032 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.1284, allocations: 265.4 kB / 1.032 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.1284, allocations: 126.9 kB / 1.033 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.1285, allocations: 119.2 kB / 1.033 GB, free: 6.617 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.1285, allocations: 156.6 kB / 1.033 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1285, allocations: 3.938 kB / 1.033 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 6.187e-05/0.1286, allocations: 45.55 kB / 1.033 GB, free: 6.398 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.1287, allocations: 222 kB / 1.033 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1288, allocations: 230.8 kB / 1.033 GB, free: 5.914 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.1288, allocations: 29.7 kB / 1.033 GB, free: 5.879 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.1289, allocations: 186.5 kB / 1.034 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.1289, allocations: 0 / 1.034 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.1289, allocations: 31.33 kB / 1.034 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1291, allocations: 0.4961 MB / 1.034 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.654e-06/0.1291, allocations: 0 / 1.034 GB, free: 5.145 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.1291, allocations: 196 kB / 1.034 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.621e-05/0.1292, allocations: 54.38 kB / 1.034 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1292, allocations: 0 / 1.034 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001031/0.1293, allocations: 69.52 kB / 1.034 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1293, allocations: 4 kB / 1.034 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1293, allocations: 3.984 kB / 1.034 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1293, allocations: 4 kB / 1.034 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.396e-05/0.1294, allocations: 12.09 kB / 1.034 GB, free: 4.719 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1294, allocations: 7.984 kB / 1.034 GB, free: 4.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.1294, allocations: 11.94 kB / 1.034 GB, free: 4.699 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.1294, allocations: 0 / 1.034 GB, free: 4.699 MB / 0.9948 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 9.329e-05/0.1295, allocations: 279.7 kB / 1.035 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.1296, allocations: 164.7 kB / 1.035 GB, free: 4.246 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.935e-05/0.1296, allocations: 161.4 kB / 1.035 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-05/0.1297, allocations: 264.1 kB / 1.035 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.293e-05/0.1297, allocations: 268 kB / 1.035 GB, free: 3.543 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.836e-05/0.1298, allocations: 268.1 kB / 1.036 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.13, allocations: 0.5081 MB / 1.036 GB, free: 2.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/0.1301, allocations: 148.9 kB / 1.036 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1301, allocations: 148.9 kB / 1.036 GB, free: 2.426 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.027e-05/0.1301, allocations: 268.1 kB / 1.037 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.1302, allocations: 268.1 kB / 1.037 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-05/0.1303, allocations: 276 kB / 1.037 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.983e-05/0.1303, allocations: 272.1 kB / 1.038 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1306, allocations: 451.9 kB / 1.038 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1307, allocations: 156.8 kB / 1.038 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.1307, allocations: 276 kB / 1.038 GB, free: 440 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.1308, allocations: 144.9 kB / 1.039 GB, free: 288 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.1309, allocations: 268.1 kB / 1.039 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.1309, allocations: 156.8 kB / 1.039 GB, free: 15.85 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.131, allocations: 160.6 kB / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.131, allocations: 0 / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002288/0.1312, allocations: 31.89 kB / 1.039 GB, free: 15.66 MB / 1.01 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 0.0001089/0.1313, allocations: 214.5 kB / 1.039 GB, free: 15.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.1314, allocations: 23.95 kB / 1.039 GB, free: 15.42 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1314, allocations: 0 / 1.039 GB, free: 15.42 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1314, allocations: 320 / 1.039 GB, free: 15.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1318, allocations: 0.7217 MB / 1.04 GB, free: 14.69 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.1323, allocations: 362.2 kB / 1.04 GB, free: 14.31 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.406e-05/0.1323, allocations: 67.33 kB / 1.04 GB, free: 14.22 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.1324, allocations: 8.5 kB / 1.04 GB, free: 14.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.1324, allocations: 90.19 kB / 1.041 GB, free: 14.12 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.1324, allocations: 4 kB / 1.041 GB, free: 14.12 MB / 1.01 GB Notification: Performance of Templates: time 0.002744/0.1352, allocations: 0.8905 MB / 1.041 GB, free: 13.25 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.093055339995772]