Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001574/0.001574, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002058/0.002058, allocations: 212 kB / 22.25 MB, free: 5.121 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.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 3.095/3.095, allocations: 0.4899 GB / 0.795 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002105/0.002105, allocations: 67.75 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3836, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06159/0.4452, allocations: 50.96 MB / 1.376 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.4668, allocations: 12.77 MB / 1.389 GB, free: 1.504 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.4691, allocations: 111.1 kB / 1.389 GB, free: 1.395 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.4712, allocations: 0.7838 MB / 1.389 GB, free: 0.6055 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/0.4763, allocations: 1.971 MB / 1.391 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.4801, allocations: 1.427 MB / 1.393 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.4851, allocations: 3.311 MB / 1.396 GB, free: 9.895 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.4867, allocations: 0.9776 MB / 1.397 GB, free: 8.879 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00406/0.4907, allocations: 1.539 MB / 1.398 GB, free: 7.344 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001996/0.4927, allocations: 0.968 MB / 1.399 GB, free: 6.371 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.493, allocations: 96 kB / 1.4 GB, free: 6.277 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.4963, allocations: 1.162 MB / 1.401 GB, free: 5.113 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.4967, allocations: 306.6 kB / 1.401 GB, free: 4.812 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.4977, allocations: 0.6761 MB / 1.402 GB, free: 4.133 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.5019, allocations: 2.07 MB / 1.404 GB, free: 2.055 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.5019, allocations: 4 kB / 1.404 GB, free: 2.051 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5019, allocations: 4 kB / 1.404 GB, free: 2.047 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.5019, allocations: 0 / 1.404 GB, free: 2.047 MB / 1.092 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.002925/0.5048, allocations: 1.678 MB / 1.405 GB, free: 336 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5049, allocations: 8.031 kB / 1.405 GB, free: 328 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/0.5057, allocations: 219.9 kB / 1.405 GB, free: 108 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.5079, allocations: 1.033 MB / 1.406 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.5081, allocations: 66.36 kB / 1.407 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.5082, allocations: 87.94 kB / 1.407 GB, free: 14.88 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5102, allocations: 0.9957 MB / 1.408 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.5102, allocations: 7.938 kB / 1.408 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.5103, allocations: 36 kB / 1.408 GB, free: 13.75 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.5103, allocations: 24 kB / 1.408 GB, free: 13.73 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.5119, allocations: 0.6477 MB / 1.408 GB, free: 13.08 MB / 1.107 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.006342/0.5182, allocations: 4.677 MB / 1.413 GB, free: 8.137 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5194, allocations: 378.5 kB / 1.413 GB, free: 7.758 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.52, allocations: 200.7 kB / 1.413 GB, free: 7.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.5204, allocations: 111.8 kB / 1.414 GB, free: 7.449 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5204, allocations: 34.56 kB / 1.414 GB, free: 7.406 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/0.5204, allocations: 0 / 1.414 GB, free: 7.406 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.00294/0.5234, allocations: 0.8517 MB / 1.414 GB, free: 6.539 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.5234, allocations: 59.34 kB / 1.414 GB, free: 6.469 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.5248, allocations: 0.9793 MB / 1.415 GB, free: 5.477 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.5249, allocations: 33.7 kB / 1.415 GB, free: 5.438 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005269/0.5254, allocations: 0.5979 MB / 1.416 GB, free: 4.836 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.5255, allocations: 111 kB / 1.416 GB, free: 4.727 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5257, allocations: 110.1 kB / 1.416 GB, free: 4.613 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5259, allocations: 326 kB / 1.417 GB, free: 4.289 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/0.5264, allocations: 200.8 kB / 1.417 GB, free: 4.09 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007923/0.5272, allocations: 405.7 kB / 1.417 GB, free: 3.609 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5285, allocations: 0.6021 MB / 1.418 GB, free: 2.918 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5285, allocations: 8.062 kB / 1.418 GB, free: 2.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001772/0.5303, allocations: 0.7564 MB / 1.418 GB, free: 2.137 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5303, allocations: 8 kB / 1.418 GB, free: 2.129 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.5303, allocations: 4 kB / 1.418 GB, free: 2.125 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007286/0.531, allocations: 163.2 kB / 1.419 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.5317, allocations: 151.8 kB / 1.419 GB, free: 1.809 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.5331, allocations: 1.716 MB / 1.42 GB, free: 16 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.5338, allocations: 87.66 kB / 1.421 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.5339, allocations: 28 kB / 1.421 GB, free: 15.9 MB / 1.123 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.0004659/0.5343, allocations: 268 kB / 1.421 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.5345, allocations: 119.3 kB / 1.421 GB, free: 15.51 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.5364, allocations: 0.7312 MB / 1.422 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.5364, allocations: 7.938 kB / 1.422 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.5364, allocations: 4.188 kB / 1.422 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5364, allocations: 3.984 kB / 1.422 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.5396, allocations: 1.62 MB / 1.423 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5396, allocations: 0 / 1.423 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.5401, allocations: 92.08 kB / 1.423 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/0.5406, allocations: 150.3 kB / 1.423 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5407, allocations: 11.98 kB / 1.423 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.5421, allocations: 1.704 MB / 1.425 GB, free: 11.02 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5421, allocations: 4.219 kB / 1.425 GB, free: 11.01 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.5438, allocations: 0.7964 MB / 1.426 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.5442, allocations: 171.1 kB / 1.426 GB, free: 10 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5443, allocations: 11.94 kB / 1.426 GB, free: 9.992 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.5449, allocations: 47.94 kB / 1.426 GB, free: 9.945 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.545, allocations: 31.89 kB / 1.426 GB, free: 9.914 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/0.545, allocations: 19.98 kB / 1.426 GB, free: 9.895 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009332/0.546, allocations: 0.6619 MB / 1.427 GB, free: 9.227 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.546, allocations: 0 / 1.427 GB, free: 9.227 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001124/0.5471, allocations: 390.9 kB / 1.427 GB, free: 8.844 MB / 1.123 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.0007495/0.5479, allocations: 387.9 kB / 1.428 GB, free: 8.457 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.5495, allocations: 0.54 MB / 1.428 GB, free: 7.918 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5495, allocations: 0 / 1.428 GB, free: 7.918 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.5503, allocations: 281.2 kB / 1.428 GB, free: 7.645 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.5526, allocations: 0.5319 MB / 1.429 GB, free: 7.129 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.5559, allocations: 1.84 MB / 1.431 GB, free: 5.238 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/0.5567, allocations: 1.107 MB / 1.432 GB, free: 4.105 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000584/0.5573, allocations: 188.6 kB / 1.432 GB, free: 3.918 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.5574, allocations: 71.42 kB / 1.432 GB, free: 3.848 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/0.5574, allocations: 0 / 1.432 GB, free: 3.848 MB / 1.123 GB Notification: Performance of Templates: time 0.04338/0.6008, allocations: 21.29 MB / 1.453 GB, free: 14.81 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.366654705721885]