Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001398/0.001398, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001602/0.001602, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.805 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.448/3.448, allocations: 0.5107 GB / 0.8158 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [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.002113/0.002113, allocations: 66.95 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.411, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2386/0.6496, allocations: 168.6 MB / 1.528 GB, free: 4.395 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.6619, allocations: 5.45 MB / 1.534 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.6635, allocations: 59.5 kB / 1.534 GB, free: 14.88 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002002/0.6656, allocations: 0.5552 MB / 1.534 GB, free: 14.32 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.6714, allocations: 1.925 MB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.675, allocations: 1.207 MB / 1.537 GB, free: 11.18 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00497/0.6799, allocations: 3.006 MB / 1.54 GB, free: 8.168 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.6815, allocations: 0.7357 MB / 1.541 GB, free: 7.422 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.6846, allocations: 1.312 MB / 1.542 GB, free: 6.105 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.6872, allocations: 0.9322 MB / 1.543 GB, free: 5.176 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.6876, allocations: 108 kB / 1.543 GB, free: 5.07 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.6914, allocations: 1.184 MB / 1.545 GB, free: 3.883 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009154/0.6924, allocations: 474.6 kB / 1.545 GB, free: 3.418 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.6941, allocations: 0.5485 MB / 1.546 GB, free: 2.867 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/0.6987, allocations: 2.106 MB / 1.548 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6987, allocations: 0 / 1.548 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6987, allocations: 0 / 1.548 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of Transformations before backend: time 6.036e-05/0.6988, allocations: 3.938 kB / 1.548 GB, free: 0.75 MB / 1.232 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.003289/0.7021, allocations: 1.477 MB / 1.549 GB, free: 15.23 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7021, allocations: 12.03 kB / 1.549 GB, free: 15.22 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.7042, allocations: 315 kB / 1.549 GB, free: 14.91 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.7062, allocations: 0.7878 MB / 1.55 GB, free: 14.1 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.7063, allocations: 66 kB / 1.55 GB, free: 14.04 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.7065, allocations: 91.95 kB / 1.55 GB, free: 13.95 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.7089, allocations: 1.365 MB / 1.552 GB, free: 12.46 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.7089, allocations: 0 / 1.552 GB, free: 12.46 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.709, allocations: 40 kB / 1.552 GB, free: 12.43 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-05/0.709, allocations: 33.94 kB / 1.552 GB, free: 12.39 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.7107, allocations: 0.8237 MB / 1.552 GB, free: 11.57 MB / 1.248 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.005832/0.7165, allocations: 2.383 MB / 1.555 GB, free: 9.133 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008591/0.7174, allocations: 480.6 kB / 1.555 GB, free: 8.66 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.7179, allocations: 278.5 kB / 1.556 GB, free: 8.387 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.718, allocations: 24.42 kB / 1.556 GB, free: 8.363 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.7181, allocations: 46.98 kB / 1.556 GB, free: 8.309 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.644e-06/0.7181, allocations: 0 / 1.556 GB, free: 8.309 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.004398/0.7225, allocations: 1.691 MB / 1.557 GB, free: 6.574 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.7226, allocations: 63.84 kB / 1.557 GB, free: 6.5 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.7235, allocations: 0.6449 MB / 1.558 GB, free: 5.852 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.7236, allocations: 37.7 kB / 1.558 GB, free: 5.809 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.724, allocations: 500 kB / 1.558 GB, free: 5.312 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.7242, allocations: 182.4 kB / 1.559 GB, free: 5.133 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.7244, allocations: 110.3 kB / 1.559 GB, free: 5.02 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002562/0.7247, allocations: 386.7 kB / 1.559 GB, free: 4.633 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.7252, allocations: 241.2 kB / 1.559 GB, free: 4.398 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.7258, allocations: 404.6 kB / 1.56 GB, free: 3.949 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/0.7298, allocations: 1.464 MB / 1.561 GB, free: 2.449 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.7298, allocations: 0 / 1.561 GB, free: 2.449 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001483/0.7313, allocations: 0.7683 MB / 1.562 GB, free: 1.668 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.7313, allocations: 8 kB / 1.562 GB, free: 1.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.7313, allocations: 4 kB / 1.562 GB, free: 1.656 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.7317, allocations: 97.59 kB / 1.562 GB, free: 1.555 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/0.7324, allocations: 139.8 kB / 1.562 GB, free: 1.418 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.7358, allocations: 3.042 MB / 1.565 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/0.7366, allocations: 32.14 kB / 1.565 GB, free: 14.14 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.7366, allocations: 20 kB / 1.565 GB, free: 14.12 MB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005063/0.7371, allocations: 309.5 kB / 1.565 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.7373, allocations: 83.48 kB / 1.566 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.7375, allocations: 83.36 kB / 1.566 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.7375, allocations: 8 kB / 1.566 GB, free: 13.63 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.7375, allocations: 0 / 1.566 GB, free: 13.63 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.7387, allocations: 0.8465 MB / 1.566 GB, free: 12.7 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.7418, allocations: 1.53 MB / 1.568 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.7418, allocations: 7.938 kB / 1.568 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006423/0.7425, allocations: 127.8 kB / 1.568 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.7427, allocations: 64.81 kB / 1.568 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.7427, allocations: 8 kB / 1.568 GB, free: 10.88 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.7446, allocations: 1.659 MB / 1.57 GB, free: 9.121 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7446, allocations: 7.938 kB / 1.57 GB, free: 9.113 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.7464, allocations: 1.062 MB / 1.571 GB, free: 7.992 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.7469, allocations: 147.5 kB / 1.571 GB, free: 7.848 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.747, allocations: 16 kB / 1.571 GB, free: 7.832 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.7477, allocations: 34.2 kB / 1.571 GB, free: 7.801 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.7478, allocations: 47.81 kB / 1.571 GB, free: 7.754 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.7479, allocations: 27.98 kB / 1.571 GB, free: 7.727 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006132/0.7485, allocations: 451 kB / 1.571 GB, free: 7.293 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.7485, allocations: 0 / 1.571 GB, free: 7.293 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009388/0.7495, allocations: 283.9 kB / 1.572 GB, free: 7.016 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003532/0.7498, allocations: 175.1 kB / 1.572 GB, free: 6.832 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.7513, allocations: 0.7838 MB / 1.573 GB, free: 6.023 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.7513, allocations: 0 / 1.573 GB, free: 6.023 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006635/0.752, allocations: 403.8 kB / 1.573 GB, free: 5.617 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.7544, allocations: 0.5032 MB / 1.574 GB, free: 5.129 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.7576, allocations: 1.802 MB / 1.575 GB, free: 3.25 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.7583, allocations: 0.4961 MB / 1.576 GB, free: 2.723 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007335/0.759, allocations: 190.3 kB / 1.576 GB, free: 2.531 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.7592, allocations: 63.44 kB / 1.576 GB, free: 2.469 MB / 1.264 GB Notification: Performance of SimCode: time 7.11e-07/0.7592, allocations: 0 / 1.576 GB, free: 2.469 MB / 1.264 GB Notification: Performance of Templates: time 0.03515/0.7944, allocations: 19.83 MB / 1.595 GB, free: 15.07 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.384468564763665]