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.001588/0.001588, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001797/0.001797, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.61/1.61, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.46/3.46, allocations: 0.4899 GB / 0.7915 GB, free: 33 MB / 0.6231 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.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.002178/0.002178, allocations: 77.38 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3345, allocations: 176.1 MB / 1.321 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06182/0.3963, allocations: 50.48 MB / 1.371 GB, free: 292 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02078/0.4171, allocations: 12.73 MB / 1.383 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002408/0.4195, allocations: 111.1 kB / 1.383 GB, free: 3.418 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.4217, allocations: 0.7877 MB / 1.384 GB, free: 2.625 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.4268, allocations: 1.913 MB / 1.386 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.4305, allocations: 1.386 MB / 1.387 GB, free: 15.33 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004768/0.4352, allocations: 3.244 MB / 1.39 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.437, allocations: 1.04 MB / 1.391 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.4408, allocations: 1.514 MB / 1.393 GB, free: 9.5 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.4423, allocations: 0.9564 MB / 1.394 GB, free: 8.539 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.4425, allocations: 99.94 kB / 1.394 GB, free: 8.441 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.445, allocations: 1.138 MB / 1.395 GB, free: 7.301 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.4453, allocations: 306.6 kB / 1.395 GB, free: 7 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.4462, allocations: 0.68 MB / 1.396 GB, free: 6.316 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.4496, allocations: 2.07 MB / 1.398 GB, free: 4.238 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.4496, allocations: 4 kB / 1.398 GB, free: 4.234 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4496, allocations: 0 / 1.398 GB, free: 4.234 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.4496, allocations: 0 / 1.398 GB, free: 4.234 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.002986/0.4526, allocations: 1.75 MB / 1.4 GB, free: 2.426 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4526, allocations: 8.031 kB / 1.4 GB, free: 2.418 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.4534, allocations: 227.8 kB / 1.4 GB, free: 2.195 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.4555, allocations: 1.117 MB / 1.401 GB, free: 1.023 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.4555, allocations: 66.38 kB / 1.401 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.4556, allocations: 83.94 kB / 1.401 GB, free: 0.8789 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.4576, allocations: 0.9996 MB / 1.402 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.4576, allocations: 7.938 kB / 1.402 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-05/0.4577, allocations: 36 kB / 1.402 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.4577, allocations: 24 kB / 1.402 GB, free: 15.73 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.4594, allocations: 0.6438 MB / 1.403 GB, free: 15.09 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.005758/0.4652, allocations: 4.741 MB / 1.407 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.4664, allocations: 378.5 kB / 1.408 GB, free: 9.695 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.467, allocations: 204.7 kB / 1.408 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.4681, allocations: 1.148 MB / 1.409 GB, free: 8.086 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4681, allocations: 34.56 kB / 1.409 GB, free: 8.043 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/0.4681, allocations: 4 kB / 1.409 GB, free: 8.039 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.003188/0.4713, allocations: 1.076 MB / 1.41 GB, free: 6.891 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4714, allocations: 59.34 kB / 1.41 GB, free: 6.82 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.4727, allocations: 0.9755 MB / 1.411 GB, free: 5.832 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.4727, allocations: 33.7 kB / 1.411 GB, free: 5.793 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/0.4732, allocations: 0.6017 MB / 1.412 GB, free: 5.188 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.4734, allocations: 103.2 kB / 1.412 GB, free: 5.086 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.4735, allocations: 118.1 kB / 1.412 GB, free: 4.965 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4737, allocations: 326 kB / 1.412 GB, free: 4.641 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.4743, allocations: 201 kB / 1.412 GB, free: 4.441 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008222/0.4752, allocations: 406.3 kB / 1.413 GB, free: 3.957 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4765, allocations: 0.5911 MB / 1.413 GB, free: 3.277 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.4765, allocations: 4 kB / 1.413 GB, free: 3.273 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001847/0.4784, allocations: 0.7568 MB / 1.414 GB, free: 2.5 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4784, allocations: 8 kB / 1.414 GB, free: 2.492 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.4784, allocations: 11.98 kB / 1.414 GB, free: 2.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007682/0.4792, allocations: 166.9 kB / 1.414 GB, free: 2.309 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006712/0.4799, allocations: 143.8 kB / 1.414 GB, free: 2.168 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.4812, allocations: 1.716 MB / 1.416 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006747/0.4819, allocations: 95.7 kB / 1.416 GB, free: 288 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.4819, allocations: 31.98 kB / 1.416 GB, free: 256 kB / 1.107 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.0004544/0.4824, allocations: 261.8 kB / 1.417 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4826, allocations: 115.2 kB / 1.417 GB, free: 15.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.4846, allocations: 0.7274 MB / 1.417 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.4846, allocations: 4 kB / 1.417 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.4847, allocations: 11.98 kB / 1.417 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4847, allocations: 7.938 kB / 1.417 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/0.4878, allocations: 1.628 MB / 1.419 GB, free: 13.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.4878, allocations: 4 kB / 1.419 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.4883, allocations: 83.91 kB / 1.419 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006186/0.4889, allocations: 154.6 kB / 1.419 GB, free: 13.14 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.4889, allocations: 15.92 kB / 1.419 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.4903, allocations: 1.704 MB / 1.421 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4903, allocations: 288 / 1.421 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.492, allocations: 0.7846 MB / 1.422 GB, free: 10.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.4924, allocations: 256.1 kB / 1.422 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.4925, allocations: 8 kB / 1.422 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.4931, allocations: 43.95 kB / 1.422 GB, free: 10.2 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.4932, allocations: 39.83 kB / 1.422 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.4933, allocations: 19.98 kB / 1.422 GB, free: 10.14 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009536/0.4942, allocations: 0.6619 MB / 1.423 GB, free: 9.469 MB / 1.123 GB Notification: Performance of sort global known variables: time 6e-08/0.4942, allocations: 0 / 1.423 GB, free: 9.469 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001141/0.4954, allocations: 383 kB / 1.423 GB, free: 9.094 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.000732/0.4961, allocations: 382.2 kB / 1.423 GB, free: 8.715 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.4978, allocations: 0.532 MB / 1.424 GB, free: 8.184 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4978, allocations: 4 kB / 1.424 GB, free: 8.18 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/0.4987, allocations: 284.7 kB / 1.424 GB, free: 7.902 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.5011, allocations: 0.5202 MB / 1.425 GB, free: 7.395 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.5043, allocations: 1.832 MB / 1.426 GB, free: 5.512 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/0.5051, allocations: 1.099 MB / 1.428 GB, free: 4.383 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005767/0.5057, allocations: 196.1 kB / 1.428 GB, free: 4.188 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.5058, allocations: 71.42 kB / 1.428 GB, free: 4.117 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/0.5058, allocations: 0 / 1.428 GB, free: 4.117 MB / 1.123 GB Notification: Performance of Templates: time 0.04015/0.546, allocations: 20.94 MB / 1.448 GB, free: 15.43 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: 10.337172132916749]