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.0007085/0.0007085, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008033/0.0008033, allocations: 181.9 kB / 23.22 MB, free: 1.344 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.903/0.903, allocations: 177.1 MB / 203.5 MB, free: 5.73 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 1.796/1.796, allocations: 377.8 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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.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 1.783e-06/1.783e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.494e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.573/0.573, allocations: 146.5 MB / 1.125 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00332/0.5763, allocations: 5.161 MB / 1.13 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.5764, allocations: 12.78 kB / 1.13 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.5768, allocations: 98.83 kB / 1.13 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.577, allocations: 62.58 kB / 1.13 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.5771, allocations: 37.34 kB / 1.13 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.000249/0.5773, allocations: 218.7 kB / 1.131 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.5775, allocations: 56.66 kB / 1.131 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.5777, allocations: 141.3 kB / 1.131 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.5778, allocations: 57.09 kB / 1.131 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.5778, allocations: 9.781 kB / 1.131 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.5779, allocations: 10.47 kB / 1.131 GB, free: 10.28 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.104e-05/0.5779, allocations: 34.61 kB / 1.131 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.578, allocations: 47.48 kB / 1.131 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.5781, allocations: 159.5 kB / 1.131 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5781, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5781, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5782, allocations: 5.469 kB / 1.131 GB, free: 10.17 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.0004637/0.5786, allocations: 363.7 kB / 1.131 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.5786, allocations: 8.594 kB / 1.132 GB, free: 9.848 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.5787, allocations: 18 kB / 1.132 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.5789, allocations: 193.9 kB / 1.132 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.5789, allocations: 8.531 kB / 1.132 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.5789, allocations: 16.22 kB / 1.132 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.5791, allocations: 217.6 kB / 1.132 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.5791, allocations: 1.156 kB / 1.132 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5792, allocations: 6.5 kB / 1.132 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5792, allocations: 2.344 kB / 1.132 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.904e-05/0.5793, allocations: 68.88 kB / 1.132 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.5797, allocations: 1.042 MB / 1.133 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.5798, allocations: 173.5 kB / 1.133 GB, free: 8.266 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.5798, allocations: 80.14 kB / 1.133 GB, free: 8.184 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.5798, allocations: 81.08 kB / 1.133 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5798, allocations: 107.8 kB / 1.133 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.5798, allocations: 0 / 1.133 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.587e-05/0.5799, allocations: 48.38 kB / 1.134 GB, free: 7.945 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5799, allocations: 183.7 kB / 1.134 GB, free: 7.742 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.58, allocations: 182.5 kB / 1.134 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.58, allocations: 27.14 kB / 1.134 GB, free: 7.586 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.5801, allocations: 141.6 kB / 1.134 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.5801, allocations: 0.7344 kB / 1.134 GB, free: 7.461 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.5801, allocations: 24.95 kB / 1.134 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.5802, allocations: 322.1 kB / 1.134 GB, free: 7.121 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.5802, allocations: 17 kB / 1.134 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.5802, allocations: 167.3 kB / 1.135 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.5803, allocations: 55.52 kB / 1.135 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5803, allocations: 0 / 1.135 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001129/0.5804, allocations: 82.55 kB / 1.135 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5804, allocations: 5.594 kB / 1.135 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5804, allocations: 2.25 kB / 1.135 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5804, allocations: 1.156 kB / 1.135 GB, free: 6.805 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.5805, allocations: 13.36 kB / 1.135 GB, free: 6.801 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5805, allocations: 1 kB / 1.135 GB, free: 6.801 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.142e-05/0.5805, allocations: 4.406 kB / 1.135 GB, free: 6.801 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.5805, allocations: 7.281 kB / 1.135 GB, free: 6.797 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 6.427e-05/0.5806, allocations: 207.9 kB / 1.135 GB, free: 6.598 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.5806, allocations: 115.3 kB / 1.135 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.5806, allocations: 116.3 kB / 1.135 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.5806, allocations: 185.8 kB / 1.135 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.5807, allocations: 183.4 kB / 1.135 GB, free: 6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5807, allocations: 181.9 kB / 1.136 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.5808, allocations: 393.1 kB / 1.136 GB, free: 5.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.5808, allocations: 107.2 kB / 1.136 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-06/0.5808, allocations: 106.1 kB / 1.136 GB, free: 5.207 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.5808, allocations: 178.3 kB / 1.136 GB, free: 5.027 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5808, allocations: 185.7 kB / 1.137 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.5808, allocations: 179.3 kB / 1.137 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.456e-05/0.5809, allocations: 181.9 kB / 1.137 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.022e-05/0.5809, allocations: 322.3 kB / 1.137 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.5809, allocations: 119.6 kB / 1.137 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.581, allocations: 178.1 kB / 1.137 GB, free: 3.855 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.581, allocations: 112 kB / 1.138 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.581, allocations: 186.4 kB / 1.138 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.581, allocations: 102.7 kB / 1.138 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.972e-05/0.5811, allocations: 135.7 kB / 1.138 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5811, allocations: 0 / 1.138 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001637/0.5813, allocations: 29.11 kB / 1.138 GB, free: 3.348 MB / 0.9948 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 7.233e-05/0.5813, allocations: 178.5 kB / 1.138 GB, free: 3.18 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.452e-05/0.5814, allocations: 18 kB / 1.138 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5814, allocations: 0 / 1.138 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.5814, allocations: 5.188 kB / 1.138 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.5816, allocations: 472.7 kB / 1.139 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.582, allocations: 338.1 kB / 1.139 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.582, allocations: 106.7 kB / 1.139 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.582, allocations: 13.28 kB / 1.139 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.582, allocations: 0 / 1.139 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of Templates: time 0.00256/0.5846, allocations: 1.485 MB / 1.141 GB, free: 2.215 MB / 0.9948 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: 7.318855890072882]