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.001658/0.001658, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002062/0.002062, allocations: 208.7 kB / 22.98 MB, free: 4.984 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 / 256.8 MB, free: 7.797 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.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002074/0.002074, allocations: 67.98 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4204, allocations: 176.1 MB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05767/0.4781, allocations: 45.88 MB / 1.372 GB, free: 2.855 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.5011, allocations: 11.87 MB / 1.383 GB, free: 6.957 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.5041, allocations: 107.1 kB / 1.384 GB, free: 6.852 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.5067, allocations: 0.7565 MB / 1.384 GB, free: 6.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006402/0.5131, allocations: 1.959 MB / 1.386 GB, free: 4.125 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004596/0.5177, allocations: 1.398 MB / 1.388 GB, free: 2.738 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005618/0.5233, allocations: 3.312 MB / 1.391 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.5253, allocations: 0.9854 MB / 1.392 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/0.5296, allocations: 1.529 MB / 1.393 GB, free: 12.87 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.5316, allocations: 0.9641 MB / 1.394 GB, free: 11.9 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.5318, allocations: 96 kB / 1.394 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002764/0.5346, allocations: 0.9006 MB / 1.395 GB, free: 10.91 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.535, allocations: 310.6 kB / 1.396 GB, free: 10.6 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.5358, allocations: 0.5519 MB / 1.396 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.5394, allocations: 2.039 MB / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5394, allocations: 0 / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5394, allocations: 0 / 1.398 GB, free: 8 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.686e-05/0.5395, allocations: 0 / 1.398 GB, free: 8 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.003103/0.5426, allocations: 1.667 MB / 1.4 GB, free: 6.293 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5426, allocations: 8.031 kB / 1.4 GB, free: 6.285 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/0.5434, allocations: 227.9 kB / 1.4 GB, free: 6.062 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.5456, allocations: 1.037 MB / 1.401 GB, free: 4.977 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.5457, allocations: 66.38 kB / 1.401 GB, free: 4.914 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5458, allocations: 87.94 kB / 1.401 GB, free: 4.828 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.5479, allocations: 1.129 MB / 1.402 GB, free: 3.586 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.5479, allocations: 7.938 kB / 1.402 GB, free: 3.578 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/0.548, allocations: 36 kB / 1.402 GB, free: 3.543 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.548, allocations: 24 kB / 1.402 GB, free: 3.52 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.5497, allocations: 0.6477 MB / 1.403 GB, free: 2.871 MB / 1.092 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.005915/0.5557, allocations: 3.8 MB / 1.407 GB, free: 14.95 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.5569, allocations: 372.7 kB / 1.407 GB, free: 14.57 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/0.5574, allocations: 200.7 kB / 1.407 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/0.5579, allocations: 111.8 kB / 1.407 GB, free: 14.27 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5579, allocations: 38.56 kB / 1.407 GB, free: 14.22 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.5579, allocations: 0 / 1.407 GB, free: 14.22 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002922/0.5608, allocations: 0.8361 MB / 1.408 GB, free: 13.37 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.5609, allocations: 55.41 kB / 1.408 GB, free: 13.3 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.562, allocations: 0.8759 MB / 1.409 GB, free: 12.41 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.158e-05/0.5621, allocations: 29.7 kB / 1.409 GB, free: 12.37 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.5626, allocations: 0.6128 MB / 1.41 GB, free: 11.75 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5627, allocations: 111.1 kB / 1.41 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.5629, allocations: 114 kB / 1.41 GB, free: 11.52 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.5631, allocations: 326 kB / 1.41 GB, free: 11.2 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.5636, allocations: 192.8 kB / 1.41 GB, free: 11.01 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008318/0.5644, allocations: 0.5507 MB / 1.411 GB, free: 10.34 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.5657, allocations: 0.5982 MB / 1.411 GB, free: 9.648 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.5657, allocations: 4 kB / 1.411 GB, free: 9.645 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001764/0.5675, allocations: 0.7453 MB / 1.412 GB, free: 8.883 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5675, allocations: 8 kB / 1.412 GB, free: 8.875 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5675, allocations: 8 kB / 1.412 GB, free: 8.867 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007531/0.5683, allocations: 162.7 kB / 1.412 GB, free: 8.699 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.5689, allocations: 135.8 kB / 1.412 GB, free: 8.566 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.5703, allocations: 1.727 MB / 1.414 GB, free: 6.762 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.571, allocations: 75.58 kB / 1.414 GB, free: 6.688 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.571, allocations: 28 kB / 1.414 GB, free: 6.66 MB / 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.0004589/0.5715, allocations: 270.7 kB / 1.415 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.5717, allocations: 103.3 kB / 1.415 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.5736, allocations: 0.7148 MB / 1.415 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.5736, allocations: 7.984 kB / 1.415 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5736, allocations: 0 / 1.415 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.5736, allocations: 7.875 kB / 1.415 GB, free: 5.535 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.5765, allocations: 1.458 MB / 1.417 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.5765, allocations: 0 / 1.417 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.5771, allocations: 92.08 kB / 1.417 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006306/0.5777, allocations: 146.4 kB / 1.417 GB, free: 3.773 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.5777, allocations: 15.98 kB / 1.417 GB, free: 3.758 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.5791, allocations: 1.708 MB / 1.419 GB, free: 1.973 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5791, allocations: 0 / 1.419 GB, free: 1.973 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.581, allocations: 0.7881 MB / 1.419 GB, free: 1.141 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.5814, allocations: 159.2 kB / 1.42 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.5815, allocations: 12 kB / 1.42 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.5821, allocations: 44.23 kB / 1.42 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/0.5822, allocations: 35.88 kB / 1.42 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.5823, allocations: 19.98 kB / 1.42 GB, free: 0.875 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008339/0.5831, allocations: 0.577 MB / 1.42 GB, free: 296 kB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.5831, allocations: 0 / 1.42 GB, free: 296 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.00124/0.5843, allocations: 398.9 kB / 1.421 GB, free: 15.89 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.0007639/0.5851, allocations: 394.3 kB / 1.421 GB, free: 15.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.5868, allocations: 0.5362 MB / 1.422 GB, free: 14.96 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5868, allocations: 4 kB / 1.422 GB, free: 14.96 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008339/0.5876, allocations: 281 kB / 1.422 GB, free: 14.69 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.5897, allocations: 449.1 kB / 1.422 GB, free: 14.27 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.5932, allocations: 1.825 MB / 1.424 GB, free: 12.39 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.5939, allocations: 0.5134 MB / 1.425 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008714/0.5948, allocations: 175 kB / 1.425 GB, free: 11.67 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.595, allocations: 67.42 kB / 1.425 GB, free: 11.6 MB / 1.123 GB Notification: Performance of SimCode: time 1.382e-06/0.595, allocations: 0 / 1.425 GB, free: 11.6 MB / 1.123 GB Notification: Performance of Templates: time 0.03969/0.6347, allocations: 20.92 MB / 1.445 GB, free: 7.078 MB / 1.139 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 -s cvode -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/jenkins1/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.62778220900509]