Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001869/0.001869, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002215/0.002215, allocations: 210.6 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.329/3.329, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [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.002075/0.002075, allocations: 66.28 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3675, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05415/0.4217, allocations: 45.87 MB / 1.409 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.442, allocations: 11.87 MB / 1.421 GB, free: 3.648 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.4447, allocations: 111.1 kB / 1.421 GB, free: 3.539 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.4472, allocations: 0.7565 MB / 1.422 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/0.4529, allocations: 1.944 MB / 1.424 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.4567, allocations: 1.385 MB / 1.425 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004883/0.4616, allocations: 3.293 MB / 1.428 GB, free: 12.15 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.4632, allocations: 0.9581 MB / 1.429 GB, free: 11.16 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.4673, allocations: 1.542 MB / 1.431 GB, free: 9.621 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.4688, allocations: 0.9173 MB / 1.432 GB, free: 8.699 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.469, allocations: 100 kB / 1.432 GB, free: 8.602 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.4711, allocations: 0.885 MB / 1.433 GB, free: 7.715 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.4715, allocations: 306.6 kB / 1.433 GB, free: 7.414 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007027/0.4722, allocations: 0.548 MB / 1.433 GB, free: 6.863 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.4756, allocations: 2.028 MB / 1.435 GB, free: 4.828 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4756, allocations: 0 / 1.435 GB, free: 4.828 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4756, allocations: 3.938 kB / 1.435 GB, free: 4.824 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.484e-05/0.4756, allocations: 0 / 1.435 GB, free: 4.824 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002879/0.4785, allocations: 1.663 MB / 1.437 GB, free: 3.121 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4785, allocations: 12.03 kB / 1.437 GB, free: 3.109 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/0.4792, allocations: 223.9 kB / 1.437 GB, free: 2.891 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.4815, allocations: 1.037 MB / 1.438 GB, free: 1.805 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.038e-05/0.4816, allocations: 66.38 kB / 1.438 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.4817, allocations: 87.94 kB / 1.438 GB, free: 1.656 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.4836, allocations: 1.137 MB / 1.44 GB, free: 416 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.4836, allocations: 7.938 kB / 1.44 GB, free: 408 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.4837, allocations: 40 kB / 1.44 GB, free: 368 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.4837, allocations: 20 kB / 1.44 GB, free: 348 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.4853, allocations: 0.6477 MB / 1.44 GB, free: 15.7 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00534/0.4906, allocations: 3.796 MB / 1.444 GB, free: 11.77 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.4918, allocations: 383.1 kB / 1.444 GB, free: 11.39 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.4924, allocations: 196.7 kB / 1.445 GB, free: 11.2 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.4928, allocations: 111.9 kB / 1.445 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.4928, allocations: 34.55 kB / 1.445 GB, free: 11.05 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 2.124e-06/0.4928, allocations: 0 / 1.445 GB, free: 11.05 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.002858/0.4957, allocations: 0.8432 MB / 1.445 GB, free: 10.19 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.4958, allocations: 59.39 kB / 1.446 GB, free: 10.12 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.4969, allocations: 0.8758 MB / 1.446 GB, free: 9.223 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.497, allocations: 33.7 kB / 1.446 GB, free: 9.184 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.4975, allocations: 0.6051 MB / 1.447 GB, free: 8.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.4976, allocations: 107.1 kB / 1.447 GB, free: 8.465 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.4978, allocations: 114.1 kB / 1.447 GB, free: 8.348 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.498, allocations: 322 kB / 1.448 GB, free: 8.027 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.4985, allocations: 200.8 kB / 1.448 GB, free: 7.832 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000843/0.4994, allocations: 0.5507 MB / 1.448 GB, free: 7.16 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.5007, allocations: 0.6028 MB / 1.449 GB, free: 6.469 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5007, allocations: 3.938 kB / 1.449 GB, free: 6.465 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001741/0.5024, allocations: 0.7449 MB / 1.45 GB, free: 5.703 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5025, allocations: 8 kB / 1.45 GB, free: 5.695 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5025, allocations: 4 kB / 1.45 GB, free: 5.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006892/0.5032, allocations: 163.1 kB / 1.45 GB, free: 5.523 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.5038, allocations: 151.8 kB / 1.45 GB, free: 5.375 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.5051, allocations: 1.719 MB / 1.452 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.5058, allocations: 79.56 kB / 1.452 GB, free: 3.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.5058, allocations: 31.98 kB / 1.452 GB, free: 3.469 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.5063, allocations: 261.9 kB / 1.452 GB, free: 3.203 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.5064, allocations: 111.3 kB / 1.452 GB, free: 3.094 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.5083, allocations: 0.7069 MB / 1.453 GB, free: 2.367 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5083, allocations: 8.188 kB / 1.453 GB, free: 2.359 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5083, allocations: 0 / 1.453 GB, free: 2.359 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.5083, allocations: 11.92 kB / 1.453 GB, free: 2.348 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.5112, allocations: 1.443 MB / 1.454 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.5112, allocations: 12.05 kB / 1.454 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.5117, allocations: 92.03 kB / 1.454 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005568/0.5122, allocations: 142.5 kB / 1.454 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.5123, allocations: 11.98 kB / 1.454 GB, free: 0.582 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.5135, allocations: 1.708 MB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5135, allocations: 7.969 kB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.5152, allocations: 0.7801 MB / 1.457 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.5156, allocations: 167.2 kB / 1.457 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.5157, allocations: 4 kB / 1.457 GB, free: 13.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.5163, allocations: 47.94 kB / 1.457 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/0.5164, allocations: 27.89 kB / 1.457 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.5164, allocations: 27.98 kB / 1.457 GB, free: 13.69 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008104/0.5172, allocations: 0.5809 MB / 1.458 GB, free: 13.1 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5172, allocations: 0 / 1.458 GB, free: 13.1 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001116/0.5183, allocations: 398.7 kB / 1.458 GB, free: 12.71 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006808/0.519, allocations: 386.3 kB / 1.458 GB, free: 12.33 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.5206, allocations: 0.5398 MB / 1.459 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.5207, allocations: 4 kB / 1.459 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000827/0.5215, allocations: 284.2 kB / 1.459 GB, free: 11.51 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.5235, allocations: 438 kB / 1.46 GB, free: 11.09 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.5268, allocations: 1.873 MB / 1.461 GB, free: 9.168 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.5274, allocations: 0.5017 MB / 1.462 GB, free: 8.629 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.5275, allocations: 71.42 kB / 1.462 GB, free: 8.559 MB / 1.154 GB Notification: Performance of SimCode: time 8.91e-07/0.5275, allocations: 7.938 kB / 1.462 GB, free: 8.551 MB / 1.154 GB Notification: Performance of Templates: time 0.04085/0.5684, allocations: 31.69 MB / 1.493 GB, free: 8.961 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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: 14.686187360901386]