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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 108 kB / 16.41 MB, free: 6.027 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.001936/0.001936, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.11 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7982, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1866/0.9849, allocations: 166.1 MB / 1.371 GB, free: 6.859 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006412/0.9913, allocations: 5.707 MB / 1.376 GB, free: 1.137 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.9917, allocations: 11.94 kB / 1.376 GB, free: 1.125 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.9922, allocations: 95.3 kB / 1.376 GB, free: 1.031 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.9926, allocations: 55.62 kB / 1.376 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.9928, allocations: 35.95 kB / 1.376 GB, free: 0.9414 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.9932, allocations: 223.1 kB / 1.377 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.9935, allocations: 90.61 kB / 1.377 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.9938, allocations: 99.58 kB / 1.377 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.994, allocations: 71.69 kB / 1.377 GB, free: 476 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.994, allocations: 8 kB / 1.377 GB, free: 468 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 3.384e-05/0.994, allocations: 16 kB / 1.377 GB, free: 452 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.9941, allocations: 27.86 kB / 1.377 GB, free: 424 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.9942, allocations: 71.61 kB / 1.377 GB, free: 352 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.9944, allocations: 165.2 kB / 1.377 GB, free: 188 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9945, allocations: 0 / 1.377 GB, free: 188 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.225e-06/0.9945, allocations: 0 / 1.377 GB, free: 188 kB / 1.092 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.9945, allocations: 0 / 1.377 GB, free: 188 kB / 1.092 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.0007126/0.9952, allocations: 442.7 kB / 1.378 GB, free: 15.7 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.9953, allocations: 12.03 kB / 1.378 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.9953, allocations: 19.81 kB / 1.378 GB, free: 15.67 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.9957, allocations: 249 kB / 1.378 GB, free: 15.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.9957, allocations: 8 kB / 1.378 GB, free: 15.38 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.9957, allocations: 12 kB / 1.378 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.996, allocations: 172.4 kB / 1.378 GB, free: 15.17 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.996, allocations: 0 / 1.378 GB, free: 15.17 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.996, allocations: 8 kB / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.996, allocations: 0 / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.9962, allocations: 79.77 kB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.9971, allocations: 1.148 MB / 1.379 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.9972, allocations: 169.1 kB / 1.379 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.9973, allocations: 84.14 kB / 1.379 GB, free: 13.6 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.9973, allocations: 79.22 kB / 1.38 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.9974, allocations: 109.8 kB / 1.38 GB, free: 13.4 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.9974, allocations: 4 kB / 1.38 GB, free: 13.4 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 9.58e-05/0.9975, allocations: 41.52 kB / 1.38 GB, free: 13.35 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.54e-05/0.9976, allocations: 182.1 kB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.9979, allocations: 252.9 kB / 1.38 GB, free: 12.89 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.9979, allocations: 25.7 kB / 1.38 GB, free: 12.86 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.998, allocations: 135.9 kB / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.998, allocations: 0 / 1.38 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.998, allocations: 17.72 kB / 1.38 GB, free: 12.7 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9982, allocations: 334.8 kB / 1.381 GB, free: 12.37 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.9982, allocations: 15.98 kB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.9983, allocations: 63.66 kB / 1.381 GB, free: 12.26 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.9983, allocations: 52.23 kB / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9983, allocations: 0 / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001697/0.9985, allocations: 93.3 kB / 1.381 GB, free: 12.1 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.9985, allocations: 4.156 kB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9985, allocations: 8 kB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.9986, allocations: 0 / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.9986, allocations: 8 kB / 1.381 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.9987, allocations: 0 / 1.381 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.9988, allocations: 15.84 kB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.9988, allocations: 0 / 1.381 GB, free: 12.06 MB / 1.107 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 0.0001233/0.9989, allocations: 205.1 kB / 1.381 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.999, allocations: 124.7 kB / 1.381 GB, free: 11.72 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.547e-05/0.9991, allocations: 129.9 kB / 1.381 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/0.9991, allocations: 184.2 kB / 1.381 GB, free: 11.41 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-05/0.9992, allocations: 180.2 kB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.832e-05/0.9992, allocations: 180.3 kB / 1.382 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.9995, allocations: 449.1 kB / 1.382 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.312e-05/0.9996, allocations: 116.9 kB / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.9996, allocations: 105 kB / 1.382 GB, free: 10.31 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.877e-05/0.9997, allocations: 180.3 kB / 1.383 GB, free: 10.13 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/0.9997, allocations: 176.3 kB / 1.383 GB, free: 9.949 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.355e-05/0.9998, allocations: 188.4 kB / 1.383 GB, free: 9.758 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.066e-05/0.9999, allocations: 180.3 kB / 1.383 GB, free: 9.574 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/1, allocations: 327.6 kB / 1.383 GB, free: 9.23 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/1, allocations: 201.8 kB / 1.384 GB, free: 9.008 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1, allocations: 180.2 kB / 1.384 GB, free: 8.824 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/1, allocations: 105 kB / 1.384 GB, free: 8.715 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/1, allocations: 188.2 kB / 1.384 GB, free: 8.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/1, allocations: 101 kB / 1.384 GB, free: 8.418 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001679/1.001, allocations: 184.5 kB / 1.384 GB, free: 8.234 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/1.001, allocations: 0 / 1.384 GB, free: 8.234 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002682/1.001, allocations: 24 kB / 1.384 GB, free: 8.211 MB / 1.107 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.0001323/1.001, allocations: 166.5 kB / 1.385 GB, free: 8.035 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.881e-05/1.001, allocations: 28.11 kB / 1.385 GB, free: 8.008 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.001, allocations: 8.062 kB / 1.385 GB, free: 8 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/1.001, allocations: 0 / 1.385 GB, free: 8 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/1.002, allocations: 0.5056 MB / 1.385 GB, free: 7.492 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/1.002, allocations: 353 kB / 1.385 GB, free: 7.113 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/1.003, allocations: 0.7124 MB / 1.386 GB, free: 6.375 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.302e-05/1.003, allocations: 19.44 kB / 1.386 GB, free: 6.355 MB / 1.107 GB Notification: Performance of SimCode: time 2.9e-07/1.003, allocations: 0 / 1.386 GB, free: 6.355 MB / 1.107 GB Notification: Performance of Templates: time 0.004185/1.007, allocations: 2.007 MB / 1.388 GB, free: 4.359 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches