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.001549/0.001549, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001815/0.001815, allocations: 159.2 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.566/1.566, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.837/2.837, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 63.89 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.164, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.22/1.384, allocations: 146.5 MB / 1.297 GB, free: 14.54 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007225/1.391, allocations: 5.191 MB / 1.302 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/1.391, allocations: 8.062 kB / 1.302 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/1.392, allocations: 102.1 kB / 1.302 GB, free: 10.97 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/1.392, allocations: 55.59 kB / 1.302 GB, free: 10.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/1.392, allocations: 33.06 kB / 1.302 GB, free: 10.92 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/1.393, allocations: 210.3 kB / 1.302 GB, free: 10.82 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/1.393, allocations: 62.66 kB / 1.303 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/1.393, allocations: 108.2 kB / 1.303 GB, free: 10.74 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/1.393, allocations: 72.64 kB / 1.303 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/1.393, allocations: 10.97 kB / 1.303 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/1.393, allocations: 8.906 kB / 1.303 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 6.738e-05/1.393, allocations: 31.42 kB / 1.303 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/1.393, allocations: 56.5 kB / 1.303 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003245/1.394, allocations: 161.7 kB / 1.303 GB, free: 10.59 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.394, allocations: 1.531 kB / 1.303 GB, free: 10.59 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.184e-06/1.394, allocations: 0 / 1.303 GB, free: 10.59 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.742e-05/1.394, allocations: 0.6562 kB / 1.303 GB, free: 10.59 MB / 1.154 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.000731/1.394, allocations: 374.6 kB / 1.303 GB, free: 10.26 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.395, allocations: 9.688 kB / 1.303 GB, free: 10.26 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/1.395, allocations: 18.08 kB / 1.303 GB, free: 10.25 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/1.395, allocations: 199 kB / 1.304 GB, free: 10.08 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.395, allocations: 8.938 kB / 1.304 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/1.395, allocations: 13.03 kB / 1.304 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/1.395, allocations: 225.3 kB / 1.304 GB, free: 9.871 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.395, allocations: 1.344 kB / 1.304 GB, free: 9.871 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/1.395, allocations: 1.312 kB / 1.304 GB, free: 9.871 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/1.395, allocations: 7.438 kB / 1.304 GB, free: 9.867 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/1.396, allocations: 75.84 kB / 1.304 GB, free: 9.836 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.397, allocations: 1.048 MB / 1.305 GB, free: 8.828 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/1.397, allocations: 170.6 kB / 1.305 GB, free: 8.652 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/1.397, allocations: 80.14 kB / 1.305 GB, free: 8.57 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/1.397, allocations: 76.78 kB / 1.305 GB, free: 8.496 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/1.397, allocations: 111.2 kB / 1.305 GB, free: 8.379 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.397, allocations: 7.938 kB / 1.305 GB, free: 8.371 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 8.789e-05/1.397, allocations: 40.17 kB / 1.305 GB, free: 8.332 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/1.397, allocations: 179.2 kB / 1.305 GB, free: 8.133 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/1.397, allocations: 182 kB / 1.306 GB, free: 7.992 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.397, allocations: 27.39 kB / 1.306 GB, free: 7.961 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.397, allocations: 142 kB / 1.306 GB, free: 7.828 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/1.397, allocations: 0 / 1.306 GB, free: 7.828 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/1.397, allocations: 20.09 kB / 1.306 GB, free: 7.809 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.398, allocations: 322.4 kB / 1.306 GB, free: 7.488 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/1.398, allocations: 9.312 kB / 1.306 GB, free: 7.484 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/1.398, allocations: 174.7 kB / 1.306 GB, free: 7.273 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.749e-05/1.398, allocations: 53.34 kB / 1.306 GB, free: 7.219 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.398, allocations: 0 / 1.306 GB, free: 7.219 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/1.398, allocations: 76.72 kB / 1.306 GB, free: 7.164 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/1.398, allocations: 11.66 kB / 1.306 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.398, allocations: 5.25 kB / 1.306 GB, free: 7.156 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.398, allocations: 3.188 kB / 1.306 GB, free: 7.156 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.981e-05/1.398, allocations: 14.67 kB / 1.306 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.398, allocations: 1.062 kB / 1.306 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/1.398, allocations: 7.469 kB / 1.306 GB, free: 7.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/1.398, allocations: 2.312 kB / 1.306 GB, free: 7.145 MB / 1.154 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.0001593/1.398, allocations: 209.9 kB / 1.307 GB, free: 6.941 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/1.398, allocations: 117.7 kB / 1.307 GB, free: 6.824 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/1.398, allocations: 118 kB / 1.307 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-05/1.399, allocations: 185.2 kB / 1.307 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.069e-05/1.399, allocations: 181.7 kB / 1.307 GB, free: 6.332 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.941e-05/1.399, allocations: 181.7 kB / 1.307 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/1.399, allocations: 398.2 kB / 1.308 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/1.399, allocations: 101.9 kB / 1.308 GB, free: 5.637 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/1.399, allocations: 106.1 kB / 1.308 GB, free: 5.527 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.134e-05/1.399, allocations: 185.4 kB / 1.308 GB, free: 5.34 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.912e-05/1.399, allocations: 189.1 kB / 1.308 GB, free: 5.148 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-05/1.399, allocations: 181.5 kB / 1.309 GB, free: 4.965 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.619e-05/1.4, allocations: 177.8 kB / 1.309 GB, free: 4.785 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/1.4, allocations: 321.5 kB / 1.309 GB, free: 4.457 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/1.4, allocations: 112.9 kB / 1.309 GB, free: 4.344 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.4, allocations: 194.4 kB / 1.309 GB, free: 4.148 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/1.4, allocations: 102.1 kB / 1.309 GB, free: 4.043 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.4, allocations: 186.8 kB / 1.31 GB, free: 3.855 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/1.4, allocations: 105 kB / 1.31 GB, free: 3.746 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001194/1.4, allocations: 129.2 kB / 1.31 GB, free: 3.648 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.4, allocations: 1.562 kB / 1.31 GB, free: 3.648 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002689/1.401, allocations: 31.8 kB / 1.31 GB, free: 3.637 MB / 1.154 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.0001604/1.401, allocations: 172.1 kB / 1.31 GB, free: 3.473 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001076/1.401, allocations: 23.44 kB / 1.31 GB, free: 3.461 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.401, allocations: 1.125 kB / 1.31 GB, free: 3.461 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.401, allocations: 0 / 1.31 GB, free: 3.461 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/1.401, allocations: 467.7 kB / 1.31 GB, free: 3.008 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/1.402, allocations: 322.4 kB / 1.311 GB, free: 2.734 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/1.402, allocations: 101.9 kB / 1.311 GB, free: 2.641 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 6.286e-05/1.402, allocations: 16.12 kB / 1.311 GB, free: 2.633 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/1.402, allocations: 11.78 kB / 1.311 GB, free: 2.625 MB / 1.154 GB Notification: Performance of SimCode: time 3.31e-07/1.402, allocations: 1.062 kB / 1.311 GB, free: 2.625 MB / 1.154 GB Notification: Performance of Templates: time 0.004246/1.406, allocations: 0.8095 MB / 1.312 GB, free: 2.215 MB / 1.154 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 -s ida -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/jenkins1/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: 9.93645275500603]