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.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.001523/0.001523, 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.001989/0.001989, allocations: 189.5 kB / 22.23 MB, free: 5.133 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.587/1.587, 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-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.386/3.386, allocations: 496 MB / 0.7835 GB, free: 33.75 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-maint.12.x/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_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.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.88 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5158/0.5179, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2556/0.7735, allocations: 166.8 MB / 1.47 GB, free: 10.39 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007498/0.781, allocations: 5.774 MB / 1.476 GB, free: 4.594 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.7814, allocations: 7.938 kB / 1.476 GB, free: 4.586 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.782, allocations: 107.2 kB / 1.476 GB, free: 4.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.7822, allocations: 59.62 kB / 1.476 GB, free: 4.422 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.7824, allocations: 31.95 kB / 1.476 GB, free: 4.391 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.7828, allocations: 211.1 kB / 1.476 GB, free: 4.184 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.783, allocations: 65.19 kB / 1.476 GB, free: 4.125 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.7833, allocations: 111.5 kB / 1.476 GB, free: 4.016 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.7834, allocations: 67.7 kB / 1.476 GB, free: 3.949 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.7834, allocations: 12 kB / 1.476 GB, free: 3.938 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.7835, allocations: 12 kB / 1.476 GB, free: 3.926 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.7835, allocations: 35.84 kB / 1.477 GB, free: 3.891 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 9.201e-05/0.7836, allocations: 67.62 kB / 1.477 GB, free: 3.824 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.7839, allocations: 167.2 kB / 1.477 GB, free: 3.66 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7839, allocations: 0 / 1.477 GB, free: 3.66 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7839, allocations: 4 kB / 1.477 GB, free: 3.656 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.7839, allocations: 0 / 1.477 GB, free: 3.656 MB / 1.17 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.0007228/0.7846, allocations: 361.5 kB / 1.477 GB, free: 3.273 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7847, allocations: 8.922 kB / 1.477 GB, free: 3.266 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.7848, allocations: 23.91 kB / 1.477 GB, free: 3.242 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.7851, allocations: 192.8 kB / 1.477 GB, free: 3.027 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.7851, allocations: 8 kB / 1.477 GB, free: 3.02 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.7852, allocations: 15.94 kB / 1.477 GB, free: 3.004 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.7855, allocations: 169.2 kB / 1.477 GB, free: 2.809 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7855, allocations: 0 / 1.477 GB, free: 2.809 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.7855, allocations: 4 kB / 1.477 GB, free: 2.805 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.7855, allocations: 4 kB / 1.477 GB, free: 2.801 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.7856, allocations: 75.83 kB / 1.478 GB, free: 2.727 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.7869, allocations: 1.116 MB / 1.479 GB, free: 1.539 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.7871, allocations: 165.1 kB / 1.479 GB, free: 1.367 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.7871, allocations: 84.14 kB / 1.479 GB, free: 1.281 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.932e-05/0.7872, allocations: 79.22 kB / 1.479 GB, free: 1.203 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.5e-05/0.7873, allocations: 109.8 kB / 1.479 GB, free: 1.086 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7873, allocations: 4 kB / 1.479 GB, free: 1.082 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001061/0.7874, allocations: 49.56 kB / 1.479 GB, free: 1.027 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.7875, allocations: 182.1 kB / 1.479 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.7879, allocations: 245 kB / 1.48 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.7879, allocations: 25.7 kB / 1.48 GB, free: 0.543 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.7881, allocations: 139.9 kB / 1.48 GB, free: 412 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-06/0.7881, allocations: 0 / 1.48 GB, free: 412 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.7881, allocations: 21.67 kB / 1.48 GB, free: 384 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.7883, allocations: 334.8 kB / 1.48 GB, free: 40 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.7884, allocations: 11.98 kB / 1.48 GB, free: 28 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.7885, allocations: 67.66 kB / 1.48 GB, free: 15.93 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/0.7886, allocations: 48.27 kB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.7886, allocations: 0 / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001992/0.7888, allocations: 93.39 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7888, allocations: 4.156 kB / 1.48 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7888, allocations: 8 kB / 1.48 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.7888, allocations: 0 / 1.48 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.285e-05/0.7889, allocations: 8 kB / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7889, allocations: 0 / 1.48 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.789, allocations: 15.89 kB / 1.48 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.789, allocations: 0 / 1.48 GB, free: 15.74 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.0001788/0.7891, allocations: 213.8 kB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.7892, allocations: 124.8 kB / 1.481 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.7893, allocations: 125.8 kB / 1.481 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001141/0.7895, allocations: 184.2 kB / 1.481 GB, free: 15.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.441e-05/0.7895, allocations: 180.2 kB / 1.481 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.724e-05/0.7896, allocations: 180.4 kB / 1.481 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.79, allocations: 424.2 kB / 1.482 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.417e-05/0.7901, allocations: 112.9 kB / 1.482 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.7901, allocations: 105.1 kB / 1.482 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.7903, allocations: 184.2 kB / 1.482 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/0.7904, allocations: 184.3 kB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001004/0.7905, allocations: 180.2 kB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001089/0.7906, allocations: 176.3 kB / 1.483 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.7908, allocations: 327.7 kB / 1.483 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.7909, allocations: 124.8 kB / 1.483 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.791, allocations: 188.2 kB / 1.483 GB, free: 12.61 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.7911, allocations: 105 kB / 1.483 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7912, allocations: 188.2 kB / 1.483 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.7913, allocations: 101 kB / 1.484 GB, free: 12.21 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002228/0.7915, allocations: 188.5 kB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7915, allocations: 3.938 kB / 1.484 GB, free: 12.02 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002686/0.7918, allocations: 20 kB / 1.484 GB, free: 12 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.0001508/0.7919, allocations: 166.5 kB / 1.484 GB, free: 11.82 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.7921, allocations: 27.98 kB / 1.484 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.7921, allocations: 0 / 1.484 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.7921, allocations: 4 kB / 1.484 GB, free: 11.79 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.7928, allocations: 0.504 MB / 1.484 GB, free: 11.29 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.7934, allocations: 328.8 kB / 1.485 GB, free: 10.94 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.7938, allocations: 0.7164 MB / 1.485 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 7.379e-05/0.7939, allocations: 17.48 kB / 1.485 GB, free: 10.18 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.7939, allocations: 15.44 kB / 1.485 GB, free: 10.16 MB / 1.186 GB Notification: Performance of SimCode: time 5.01e-07/0.7939, allocations: 0 / 1.485 GB, free: 10.16 MB / 1.186 GB Notification: Performance of Templates: time 0.005939/0.7998, allocations: 1.995 MB / 1.487 GB, free: 8.199 MB / 1.186 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.66950014512986]