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.001633/0.001633, allocations: 103.5 kB / 17.07 MB, free: 5.965 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.001844/0.001844, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.553/1.553, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.217/3.217, allocations: 490 MB / 0.7695 GB, free: 3.105 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002232/0.002233, allocations: 63.89 kB / 1.104 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 164 MB / 1.264 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2381/1.341, allocations: 166.1 MB / 1.426 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007631/1.349, allocations: 5.718 MB / 1.432 GB, free: 6.77 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/1.349, allocations: 4.906 kB / 1.432 GB, free: 6.77 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005001/1.35, allocations: 96.06 kB / 1.432 GB, free: 6.688 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003241/1.35, allocations: 59.91 kB / 1.432 GB, free: 6.637 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/1.35, allocations: 41.17 kB / 1.432 GB, free: 6.602 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004128/1.351, allocations: 209.8 kB / 1.432 GB, free: 6.484 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/1.351, allocations: 84.3 kB / 1.432 GB, free: 6.441 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/1.352, allocations: 104 kB / 1.432 GB, free: 6.383 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/1.352, allocations: 69.81 kB / 1.432 GB, free: 6.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/1.352, allocations: 13.3 kB / 1.432 GB, free: 6.336 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/1.352, allocations: 10.19 kB / 1.432 GB, free: 6.336 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/1.352, allocations: 30.72 kB / 1.432 GB, free: 6.312 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/1.352, allocations: 71.62 kB / 1.432 GB, free: 6.266 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/1.352, allocations: 163 kB / 1.433 GB, free: 6.152 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/1.352, allocations: 1.281 kB / 1.433 GB, free: 6.152 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.883e-06/1.352, allocations: 0 / 1.433 GB, free: 6.152 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.352, allocations: 0 / 1.433 GB, free: 6.152 MB / 1.123 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.0008022/1.353, allocations: 440.1 kB / 1.433 GB, free: 5.719 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.353, allocations: 13.38 kB / 1.433 GB, free: 5.715 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/1.353, allocations: 21.33 kB / 1.433 GB, free: 5.703 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/1.354, allocations: 258.8 kB / 1.433 GB, free: 5.441 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/1.354, allocations: 9.5 kB / 1.433 GB, free: 5.438 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/1.354, allocations: 11.25 kB / 1.433 GB, free: 5.434 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/1.354, allocations: 174.5 kB / 1.433 GB, free: 5.277 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.354, allocations: 5.188 kB / 1.433 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.354, allocations: 0.9688 kB / 1.433 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.354, allocations: 4.312 kB / 1.433 GB, free: 5.273 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/1.354, allocations: 70.28 kB / 1.434 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/1.355, allocations: 1.153 MB / 1.435 GB, free: 4.082 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/1.355, allocations: 174.4 kB / 1.435 GB, free: 3.902 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/1.355, allocations: 81.52 kB / 1.435 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/1.356, allocations: 79.22 kB / 1.435 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/1.356, allocations: 107.5 kB / 1.435 GB, free: 3.629 MB / 1.123 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/1.356, allocations: 0 / 1.435 GB, free: 3.629 MB / 1.123 GB Notification: Performance of matching and sorting (n=0): time 0.0001133/1.356, allocations: 46.44 kB / 1.435 GB, free: 3.586 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.356, allocations: 186.1 kB / 1.435 GB, free: 3.379 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/1.356, allocations: 250.9 kB / 1.436 GB, free: 3.207 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/1.356, allocations: 25.7 kB / 1.436 GB, free: 3.176 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/1.356, allocations: 133.9 kB / 1.436 GB, free: 3.051 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/1.356, allocations: 5.047 kB / 1.436 GB, free: 3.047 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/1.356, allocations: 23.19 kB / 1.436 GB, free: 3.023 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.357, allocations: 327.8 kB / 1.436 GB, free: 2.699 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/1.357, allocations: 12.45 kB / 1.436 GB, free: 2.691 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/1.357, allocations: 62.77 kB / 1.436 GB, free: 2.613 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.731e-05/1.357, allocations: 51.25 kB / 1.436 GB, free: 2.559 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.357, allocations: 1.125 kB / 1.436 GB, free: 2.559 MB / 1.123 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002004/1.357, allocations: 87.5 kB / 1.436 GB, free: 2.496 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.357, allocations: 9.297 kB / 1.436 GB, free: 2.492 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.357, allocations: 2.094 kB / 1.436 GB, free: 2.492 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.357, allocations: 1.281 kB / 1.436 GB, free: 2.492 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/1.357, allocations: 11.66 kB / 1.436 GB, free: 2.488 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.357, allocations: 1.156 kB / 1.436 GB, free: 2.488 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.357, allocations: 18.14 kB / 1.436 GB, free: 2.477 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/1.357, allocations: 6.594 kB / 1.436 GB, free: 2.473 MB / 1.123 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.0001553/1.357, allocations: 214.8 kB / 1.436 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/1.357, allocations: 124.7 kB / 1.437 GB, free: 2.145 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/1.358, allocations: 120.8 kB / 1.437 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.174e-05/1.358, allocations: 184.9 kB / 1.437 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.93e-05/1.358, allocations: 177 kB / 1.437 GB, free: 1.656 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.673e-05/1.358, allocations: 190 kB / 1.437 GB, free: 1.465 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/1.358, allocations: 444.7 kB / 1.438 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.608e-05/1.358, allocations: 114.3 kB / 1.438 GB, free: 0.875 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/1.358, allocations: 112.9 kB / 1.438 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.613e-05/1.358, allocations: 177.7 kB / 1.438 GB, free: 0.5781 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/1.359, allocations: 181.6 kB / 1.438 GB, free: 404 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.742e-05/1.359, allocations: 181.7 kB / 1.438 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.593e-05/1.359, allocations: 180.3 kB / 1.439 GB, free: 28 kB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/1.359, allocations: 326.7 kB / 1.439 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/1.359, allocations: 203.3 kB / 1.439 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.359, allocations: 181.3 kB / 1.439 GB, free: 15.29 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.359, allocations: 102 kB / 1.439 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/1.359, allocations: 181.3 kB / 1.44 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/1.359, allocations: 106.1 kB / 1.44 GB, free: 14.89 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002093/1.36, allocations: 186.8 kB / 1.44 GB, free: 14.76 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.21e-07/1.36, allocations: 0 / 1.44 GB, free: 14.76 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002926/1.36, allocations: 20.53 kB / 1.44 GB, free: 14.76 MB / 1.139 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.0001613/1.36, allocations: 168.9 kB / 1.44 GB, free: 14.6 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001024/1.36, allocations: 25.27 kB / 1.44 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.36, allocations: 320 / 1.44 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.171e-06/1.36, allocations: 7.938 kB / 1.44 GB, free: 14.58 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/1.361, allocations: 0.5134 MB / 1.44 GB, free: 14.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005533/1.362, allocations: 349.2 kB / 1.441 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/1.362, allocations: 0.7183 MB / 1.442 GB, free: 13.07 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/1.362, allocations: 15.19 kB / 1.442 GB, free: 13.06 MB / 1.139 GB Notification: Performance of SimCode: time 3.61e-07/1.362, allocations: 4 kB / 1.442 GB, free: 13.06 MB / 1.139 GB Notification: Performance of Templates: time 0.005384/1.367, allocations: 2.009 MB / 1.444 GB, free: 12.02 MB / 1.139 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/jenkins1/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: 12.486167835071683]