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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002708/0.002708, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.388/3.388, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 72.52 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5252/0.5273, allocations: 174.9 MB / 1.316 GB, free: 9.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2373/0.7647, allocations: 166.8 MB / 1.479 GB, free: 2.262 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007815/0.7725, allocations: 5.789 MB / 1.485 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.7728, allocations: 11.88 kB / 1.485 GB, free: 12.44 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005876/0.7734, allocations: 107.3 kB / 1.485 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.7737, allocations: 51.61 kB / 1.485 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.7739, allocations: 35.95 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.7743, allocations: 215.1 kB / 1.485 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.7745, allocations: 58.86 kB / 1.485 GB, free: 11.98 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.7748, allocations: 103.6 kB / 1.485 GB, free: 11.88 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.775, allocations: 79.62 kB / 1.485 GB, free: 11.8 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.775, allocations: 12 kB / 1.485 GB, free: 11.79 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.35e-05/0.775, allocations: 8 kB / 1.485 GB, free: 11.79 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 6.338e-05/0.7751, allocations: 27.92 kB / 1.485 GB, free: 11.76 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.7752, allocations: 71.61 kB / 1.485 GB, free: 11.69 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.7755, allocations: 163.2 kB / 1.485 GB, free: 11.53 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7755, allocations: 0 / 1.485 GB, free: 11.53 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.376e-06/0.7755, allocations: 4 kB / 1.485 GB, free: 11.52 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.7755, allocations: 0 / 1.485 GB, free: 11.52 MB / 1.186 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.0007607/0.7763, allocations: 373.5 kB / 1.486 GB, free: 11.13 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7763, allocations: 8.031 kB / 1.486 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.7764, allocations: 19.91 kB / 1.486 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.7768, allocations: 188.8 kB / 1.486 GB, free: 10.89 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.7768, allocations: 11.94 kB / 1.486 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.7768, allocations: 12 kB / 1.486 GB, free: 10.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.7771, allocations: 177.8 kB / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7771, allocations: 0 / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.7771, allocations: 4 kB / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.7771, allocations: 4 kB / 1.486 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.7773, allocations: 71.84 kB / 1.486 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.7784, allocations: 1.12 MB / 1.487 GB, free: 9.395 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7785, allocations: 165.1 kB / 1.488 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.7786, allocations: 88.12 kB / 1.488 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.7786, allocations: 79.22 kB / 1.488 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/0.7787, allocations: 113.8 kB / 1.488 GB, free: 8.934 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.7787, allocations: 0 / 1.488 GB, free: 8.934 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001051/0.7788, allocations: 45.61 kB / 1.488 GB, free: 8.883 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.779, allocations: 178.1 kB / 1.488 GB, free: 8.684 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.7793, allocations: 248.9 kB / 1.488 GB, free: 8.426 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.7793, allocations: 25.7 kB / 1.488 GB, free: 8.395 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.7794, allocations: 132 kB / 1.488 GB, free: 8.262 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.7794, allocations: 0 / 1.488 GB, free: 8.262 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.7795, allocations: 29.66 kB / 1.488 GB, free: 8.227 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7796, allocations: 326.8 kB / 1.489 GB, free: 7.898 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.7796, allocations: 12 kB / 1.489 GB, free: 7.887 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.7797, allocations: 67.66 kB / 1.489 GB, free: 7.793 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.7798, allocations: 52.25 kB / 1.489 GB, free: 7.727 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7798, allocations: 0 / 1.489 GB, free: 7.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001908/0.78, allocations: 93.53 kB / 1.489 GB, free: 7.629 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.78, allocations: 6.188 kB / 1.489 GB, free: 7.625 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.78, allocations: 4 kB / 1.489 GB, free: 7.621 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.78, allocations: 0 / 1.489 GB, free: 7.621 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.517e-05/0.7801, allocations: 11.98 kB / 1.489 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7801, allocations: 0 / 1.489 GB, free: 7.609 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.875e-05/0.7802, allocations: 15.89 kB / 1.489 GB, free: 7.594 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.7802, allocations: 0 / 1.489 GB, free: 7.594 MB / 1.186 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.0001724/0.7804, allocations: 210.3 kB / 1.489 GB, free: 7.379 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.7805, allocations: 128.8 kB / 1.489 GB, free: 7.246 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.345e-05/0.7805, allocations: 121.8 kB / 1.489 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-05/0.7806, allocations: 180.3 kB / 1.49 GB, free: 6.938 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-05/0.7807, allocations: 180.2 kB / 1.49 GB, free: 6.754 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-05/0.7808, allocations: 180.3 kB / 1.49 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.7812, allocations: 428.2 kB / 1.49 GB, free: 6.102 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.715e-05/0.7812, allocations: 104.9 kB / 1.49 GB, free: 5.992 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/0.7813, allocations: 113.1 kB / 1.491 GB, free: 5.875 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-05/0.7814, allocations: 180.3 kB / 1.491 GB, free: 5.691 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.7815, allocations: 192.2 kB / 1.491 GB, free: 5.496 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.121e-05/0.7816, allocations: 180.2 kB / 1.491 GB, free: 5.312 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-05/0.7816, allocations: 180.3 kB / 1.491 GB, free: 5.129 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.7818, allocations: 323.6 kB / 1.492 GB, free: 4.789 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.7819, allocations: 120.8 kB / 1.492 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.7821, allocations: 188.2 kB / 1.492 GB, free: 4.473 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.7822, allocations: 113 kB / 1.492 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7823, allocations: 180.2 kB / 1.492 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.7823, allocations: 101 kB / 1.492 GB, free: 4.066 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002027/0.7825, allocations: 184.5 kB / 1.492 GB, free: 3.887 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7825, allocations: 0 / 1.492 GB, free: 3.887 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002765/0.7828, allocations: 20 kB / 1.492 GB, free: 3.867 MB / 1.186 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.0001716/0.783, allocations: 177.1 kB / 1.493 GB, free: 3.684 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.7831, allocations: 23.94 kB / 1.493 GB, free: 3.66 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7831, allocations: 0 / 1.493 GB, free: 3.66 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.7831, allocations: 0 / 1.493 GB, free: 3.66 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.7838, allocations: 0.5157 MB / 1.493 GB, free: 3.141 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.7845, allocations: 315.7 kB / 1.493 GB, free: 2.805 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.7849, allocations: 0.7203 MB / 1.494 GB, free: 2.059 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 7.796e-05/0.785, allocations: 21.47 kB / 1.494 GB, free: 2.039 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.785, allocations: 15.44 kB / 1.494 GB, free: 2.023 MB / 1.186 GB Notification: Performance of SimCode: time 3e-07/0.785, allocations: 0 / 1.494 GB, free: 2.023 MB / 1.186 GB Notification: Performance of Templates: time 0.006323/0.7913, allocations: 1.995 MB / 1.496 GB, free: 56 kB / 1.186 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.665932025760412]