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.001549/0.001549, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.001685/0.001685, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.89/2.89, allocations: 0.49 GB / 0.7923 GB, free: 1.34 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.002089/0.002089, allocations: 67.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9961/0.9981, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04664/1.045, allocations: 50.49 MB / 1.371 GB, free: 4.828 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02258/1.067, allocations: 12.73 MB / 1.384 GB, free: 11.71 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004115/1.071, allocations: 110.2 kB / 1.384 GB, free: 11.65 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/1.075, allocations: 0.7868 MB / 1.385 GB, free: 11.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007802/1.083, allocations: 1.914 MB / 1.386 GB, free: 10.05 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/1.088, allocations: 1.369 MB / 1.388 GB, free: 9.324 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007148/1.095, allocations: 3.249 MB / 1.391 GB, free: 7.828 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/1.097, allocations: 1.042 MB / 1.392 GB, free: 7.309 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005083/1.102, allocations: 1.515 MB / 1.393 GB, free: 6.621 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/1.105, allocations: 0.964 MB / 1.394 GB, free: 6.188 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002435/1.105, allocations: 96.03 kB / 1.394 GB, free: 6.188 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/1.109, allocations: 1.141 MB / 1.396 GB, free: 5.789 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/1.109, allocations: 309.5 kB / 1.396 GB, free: 5.598 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/1.11, allocations: 0.6783 MB / 1.397 GB, free: 5.184 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005254/1.116, allocations: 2.08 MB / 1.399 GB, free: 4.391 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.116, allocations: 0 / 1.399 GB, free: 4.391 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.224e-06/1.116, allocations: 0 / 1.399 GB, free: 4.391 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.883e-05/1.116, allocations: 0 / 1.399 GB, free: 4.391 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.00377/1.119, allocations: 1.74 MB / 1.4 GB, free: 3.207 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.119, allocations: 12.91 kB / 1.4 GB, free: 3.203 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000828/1.12, allocations: 228.8 kB / 1.401 GB, free: 3.113 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/1.123, allocations: 1.108 MB / 1.402 GB, free: 2.465 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/1.123, allocations: 64.81 kB / 1.402 GB, free: 2.438 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.123, allocations: 92.31 kB / 1.402 GB, free: 2.402 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/1.125, allocations: 1 MB / 1.403 GB, free: 1.871 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/1.125, allocations: 8.875 kB / 1.403 GB, free: 1.863 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/1.125, allocations: 34.38 kB / 1.403 GB, free: 1.84 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/1.125, allocations: 21.47 kB / 1.403 GB, free: 1.84 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/1.127, allocations: 0.6477 MB / 1.403 GB, free: 1.633 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.007359/1.134, allocations: 4.747 MB / 1.408 GB, free: 13.92 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/1.135, allocations: 382 kB / 1.408 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005637/1.136, allocations: 196.4 kB / 1.409 GB, free: 13.74 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/1.137, allocations: 1.146 MB / 1.41 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.137, allocations: 38.34 kB / 1.41 GB, free: 12.37 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 2.294e-06/1.137, allocations: 3.938 kB / 1.41 GB, free: 12.36 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.003221/1.14, allocations: 1.077 MB / 1.411 GB, free: 11.8 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.14, allocations: 58.69 kB / 1.411 GB, free: 11.73 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/1.142, allocations: 0.978 MB / 1.412 GB, free: 11.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/1.142, allocations: 37.05 kB / 1.412 GB, free: 11.3 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/1.142, allocations: 0.6001 MB / 1.412 GB, free: 10.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.143, allocations: 111.6 kB / 1.413 GB, free: 10.74 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/1.143, allocations: 115.4 kB / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.143, allocations: 329.7 kB / 1.413 GB, free: 10.36 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/1.144, allocations: 194 kB / 1.413 GB, free: 10.31 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/1.144, allocations: 409.5 kB / 1.414 GB, free: 10.01 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.146, allocations: 0.5937 MB / 1.414 GB, free: 9.613 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.146, allocations: 3.562 kB / 1.414 GB, free: 9.613 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00188/1.148, allocations: 0.7562 MB / 1.415 GB, free: 9.305 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.148, allocations: 8.094 kB / 1.415 GB, free: 9.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.148, allocations: 10.92 kB / 1.415 GB, free: 9.301 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/1.148, allocations: 154 kB / 1.415 GB, free: 9.254 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/1.149, allocations: 152.5 kB / 1.415 GB, free: 9.234 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/1.15, allocations: 1.721 MB / 1.417 GB, free: 7.594 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/1.151, allocations: 82.83 kB / 1.417 GB, free: 7.555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/1.151, allocations: 30.05 kB / 1.417 GB, free: 7.551 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.0006607/1.152, allocations: 272.6 kB / 1.417 GB, free: 7.352 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/1.152, allocations: 116.2 kB / 1.417 GB, free: 7.289 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/1.154, allocations: 0.7172 MB / 1.418 GB, free: 7.004 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.154, allocations: 4.391 kB / 1.418 GB, free: 7.004 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.154, allocations: 5.844 kB / 1.418 GB, free: 7 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/1.154, allocations: 1.266 kB / 1.418 GB, free: 7 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/1.158, allocations: 1.635 MB / 1.42 GB, free: 6.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.158, allocations: 2.781 kB / 1.42 GB, free: 6.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005126/1.158, allocations: 90.41 kB / 1.42 GB, free: 6.172 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006088/1.159, allocations: 149.6 kB / 1.42 GB, free: 6.121 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/1.159, allocations: 13.98 kB / 1.42 GB, free: 6.113 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/1.16, allocations: 1.707 MB / 1.422 GB, free: 4.48 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.16, allocations: 1.281 kB / 1.422 GB, free: 4.48 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/1.162, allocations: 0.7764 MB / 1.422 GB, free: 4.062 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/1.163, allocations: 250.8 kB / 1.423 GB, free: 3.871 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.163, allocations: 12.38 kB / 1.423 GB, free: 3.863 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006127/1.164, allocations: 50.38 kB / 1.423 GB, free: 3.852 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.164, allocations: 39.11 kB / 1.423 GB, free: 3.836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/1.164, allocations: 19.3 kB / 1.423 GB, free: 3.836 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001111/1.165, allocations: 0.6626 MB / 1.423 GB, free: 3.559 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.165, allocations: 0 / 1.423 GB, free: 3.559 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001376/1.166, allocations: 382.7 kB / 1.424 GB, free: 3.465 MB / 1.107 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.0008361/1.167, allocations: 387.7 kB / 1.424 GB, free: 3.273 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.169, allocations: 0.5356 MB / 1.425 GB, free: 3.125 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/1.169, allocations: 5.031 kB / 1.425 GB, free: 3.121 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008813/1.17, allocations: 272.7 kB / 1.425 GB, free: 3.055 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.173, allocations: 0.5217 MB / 1.425 GB, free: 2.887 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/1.176, allocations: 1.875 MB / 1.427 GB, free: 1.859 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/1.177, allocations: 1.102 MB / 1.428 GB, free: 1.09 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/1.177, allocations: 70.61 kB / 1.428 GB, free: 1.078 MB / 1.107 GB Notification: Performance of SimCode: time 1.142e-06/1.177, allocations: 0 / 1.428 GB, free: 1.078 MB / 1.107 GB Notification: Performance of Templates: time 0.0484/1.226, allocations: 32.31 MB / 1.46 GB, free: 11.12 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 -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: 15.14830096399237]