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.001546/0.001546, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001124/0.001124, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9988/0.9988, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.006/2.006, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.443e-06/1.443e-06, allocations: 0 / 0.8128 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.261e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1288/0.1288, allocations: 142.4 MB / 0.9518 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003221/0.1292, allocations: 179.4 kB / 0.952 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1293, allocations: 11.88 kB / 0.952 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1296, allocations: 59.52 kB / 0.9521 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.1297, allocations: 55.55 kB / 0.9521 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1298, allocations: 35.95 kB / 0.9522 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1301, allocations: 219 kB / 0.9524 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1302, allocations: 54.92 kB / 0.9524 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1304, allocations: 115.7 kB / 0.9525 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1305, allocations: 59.81 kB / 0.9526 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1305, allocations: 12 kB / 0.9526 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.1305, allocations: 8 kB / 0.9526 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.996e-05/0.1306, allocations: 31.91 kB / 0.9527 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.1306, allocations: 43.86 kB / 0.9527 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1308, allocations: 107.5 kB / 0.9528 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1308, allocations: 0 / 0.9528 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.11e-07/0.1308, allocations: 0 / 0.9528 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.1308, allocations: 4 kB / 0.9528 GB, free: 1.602 MB / 0.9011 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.000408/0.1312, allocations: 468.2 kB / 0.9532 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1312, allocations: 8.031 kB / 0.9533 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1313, allocations: 32.8 kB / 0.9533 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1315, allocations: 198.6 kB / 0.9535 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1315, allocations: 12.61 kB / 0.9535 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.1315, allocations: 16.38 kB / 0.9535 GB, free: 0.8242 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1316, allocations: 217 kB / 0.9537 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.1317, allocations: 0 / 0.9537 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1317, allocations: 4 kB / 0.9537 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.1317, allocations: 0 / 0.9537 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.1317, allocations: 39.84 kB / 0.9538 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.1323, allocations: 1.479 MB / 0.9552 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.1324, allocations: 265.4 kB / 0.9554 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.1324, allocations: 130.9 kB / 0.9556 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.1325, allocations: 119.2 kB / 0.9557 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.1325, allocations: 160.6 kB / 0.9558 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.1325, allocations: 0 / 0.9558 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.245e-05/0.1326, allocations: 37.59 kB / 0.9559 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.1326, allocations: 226 kB / 0.9561 GB, free: 14 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1328, allocations: 222.3 kB / 0.9563 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.1328, allocations: 25.7 kB / 0.9563 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1329, allocations: 194.4 kB / 0.9565 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.1329, allocations: 0 / 0.9565 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1329, allocations: 23.38 kB / 0.9565 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.133, allocations: 0.5039 MB / 0.957 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-06/0.133, allocations: 4 kB / 0.957 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.144e-05/0.1331, allocations: 188 kB / 0.9572 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.1331, allocations: 54.38 kB / 0.9573 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1331, allocations: 0 / 0.9573 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.525e-05/0.1332, allocations: 73.52 kB / 0.9573 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1332, allocations: 4 kB / 0.9573 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1332, allocations: 4 kB / 0.9573 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.1332, allocations: 0 / 0.9573 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.1333, allocations: 15.92 kB / 0.9574 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-06/0.1333, allocations: 0 / 0.9574 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.1333, allocations: 11.89 kB / 0.9574 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1333, allocations: 4 kB / 0.9574 GB, free: 12.55 MB / 0.9167 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.609e-05/0.1334, allocations: 283.7 kB / 0.9576 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1335, allocations: 157 kB / 0.9578 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.1335, allocations: 165.2 kB / 0.9579 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/0.1336, allocations: 264.1 kB / 0.9582 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.269e-05/0.1336, allocations: 284.1 kB / 0.9585 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.623e-05/0.1337, allocations: 264.1 kB / 0.9587 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1339, allocations: 0.5004 MB / 0.9592 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/0.1339, allocations: 152.8 kB / 0.9594 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.1339, allocations: 148.9 kB / 0.9595 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.535e-05/0.134, allocations: 272 kB / 0.9598 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.134, allocations: 272.2 kB / 0.96 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.707e-05/0.1341, allocations: 268.1 kB / 0.9603 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.489e-05/0.1342, allocations: 272 kB / 0.9605 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1343, allocations: 455.9 kB / 0.961 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1344, allocations: 156.8 kB / 0.9611 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.1344, allocations: 272 kB / 0.9614 GB, free: 8.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.593e-05/0.1345, allocations: 144.9 kB / 0.9615 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.1346, allocations: 268.1 kB / 0.9618 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.1346, allocations: 148.8 kB / 0.9619 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.1347, allocations: 164.6 kB / 0.9621 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1347, allocations: 0 / 0.9621 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001636/0.1348, allocations: 27.89 kB / 0.9621 GB, free: 7.516 MB / 0.9167 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.0001168/0.135, allocations: 221.7 kB / 0.9623 GB, free: 7.293 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.794e-05/0.135, allocations: 23.62 kB / 0.9623 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.135, allocations: 0 / 0.9623 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.135, allocations: 0 / 0.9623 GB, free: 7.266 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1354, allocations: 0.7217 MB / 0.963 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.1358, allocations: 362.2 kB / 0.9634 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.1359, allocations: 67.64 kB / 0.9634 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.1359, allocations: 12.48 kB / 0.9635 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.136, allocations: 90.19 kB / 0.9635 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/0.136, allocations: 0 / 0.9635 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of Templates: time 0.002827/0.1388, allocations: 0.8927 MB / 0.9644 GB, free: 5.094 MB / 0.9167 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 -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.451166757848114]