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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 112.3 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 191.7 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 489.3 MB / 0.7687 GB, free: 3.828 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.91 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9674, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2411/1.209, allocations: 190.7 MB / 1.449 GB, free: 8.367 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.219, allocations: 5.746 MB / 1.454 GB, free: 3.656 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/1.221, allocations: 39.75 kB / 1.454 GB, free: 3.617 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/1.223, allocations: 0.5786 MB / 1.455 GB, free: 3.035 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/1.228, allocations: 1.843 MB / 1.457 GB, free: 1.184 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/1.231, allocations: 1.194 MB / 1.458 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004221/1.235, allocations: 2.947 MB / 1.461 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/1.237, allocations: 0.9537 MB / 1.462 GB, free: 12.07 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/1.24, allocations: 1.234 MB / 1.463 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/1.242, allocations: 0.8993 MB / 1.464 GB, free: 9.938 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002413/1.243, allocations: 108 kB / 1.464 GB, free: 9.832 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/1.246, allocations: 1.415 MB / 1.465 GB, free: 8.414 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005837/1.247, allocations: 462.8 kB / 1.466 GB, free: 7.961 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009611/1.248, allocations: 0.6456 MB / 1.466 GB, free: 7.312 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003713/1.251, allocations: 2.161 MB / 1.469 GB, free: 5.145 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.252, allocations: 0 / 1.469 GB, free: 5.145 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.154e-06/1.252, allocations: 0 / 1.469 GB, free: 5.145 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.056e-05/1.252, allocations: 0 / 1.469 GB, free: 5.145 MB / 1.154 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.0027/1.254, allocations: 1.549 MB / 1.47 GB, free: 3.539 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.254, allocations: 8.031 kB / 1.47 GB, free: 3.531 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/1.256, allocations: 315 kB / 1.47 GB, free: 3.223 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/1.258, allocations: 0.8714 MB / 1.471 GB, free: 2.309 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/1.258, allocations: 66 kB / 1.471 GB, free: 2.246 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.258, allocations: 80 kB / 1.471 GB, free: 2.168 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/1.26, allocations: 0.9131 MB / 1.472 GB, free: 1.25 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.26, allocations: 0 / 1.472 GB, free: 1.25 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/1.26, allocations: 39.94 kB / 1.472 GB, free: 1.211 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/1.26, allocations: 34 kB / 1.472 GB, free: 1.176 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/1.261, allocations: 0.8237 MB / 1.473 GB, free: 360 kB / 1.154 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.005622/1.267, allocations: 3.521 MB / 1.477 GB, free: 12.61 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/1.268, allocations: 0.4949 MB / 1.477 GB, free: 12.11 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004851/1.268, allocations: 294 kB / 1.477 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/1.268, allocations: 101.5 kB / 1.477 GB, free: 11.7 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.269, allocations: 46.92 kB / 1.477 GB, free: 11.64 MB / 1.17 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/1.269, allocations: 0 / 1.477 GB, free: 11.64 MB / 1.17 GB Notification: Performance of matching and sorting (n=49): time 0.004427/1.273, allocations: 1.932 MB / 1.479 GB, free: 9.613 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.273, allocations: 55.84 kB / 1.479 GB, free: 9.547 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.274, allocations: 0.8058 MB / 1.48 GB, free: 8.734 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/1.274, allocations: 37.7 kB / 1.48 GB, free: 8.691 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/1.275, allocations: 484.2 kB / 1.481 GB, free: 8.215 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/1.275, allocations: 186.4 kB / 1.481 GB, free: 8.031 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.275, allocations: 118.2 kB / 1.481 GB, free: 7.91 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.275, allocations: 337.9 kB / 1.481 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/1.276, allocations: 237.2 kB / 1.482 GB, free: 7.34 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/1.276, allocations: 357.2 kB / 1.482 GB, free: 6.957 MB / 1.17 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.003906/1.28, allocations: 1.53 MB / 1.483 GB, free: 5.375 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.28, allocations: 4 kB / 1.483 GB, free: 5.371 MB / 1.17 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001543/1.282, allocations: 0.7892 MB / 1.484 GB, free: 4.57 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.282, allocations: 10.03 kB / 1.484 GB, free: 4.562 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.282, allocations: 0 / 1.484 GB, free: 4.562 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/1.282, allocations: 89.66 kB / 1.484 GB, free: 4.469 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/1.283, allocations: 143.8 kB / 1.484 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/1.286, allocations: 3.308 MB / 1.488 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/1.287, allocations: 23.92 kB / 1.488 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/1.287, allocations: 24 kB / 1.488 GB, free: 0.6875 MB / 1.17 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.0005403/1.288, allocations: 301.6 kB / 1.488 GB, free: 392 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/1.288, allocations: 99.58 kB / 1.488 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/1.288, allocations: 104.8 kB / 1.488 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.288, allocations: 4 kB / 1.488 GB, free: 180 kB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.288, allocations: 4 kB / 1.488 GB, free: 176 kB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/1.289, allocations: 0.8465 MB / 1.489 GB, free: 15.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/1.292, allocations: 1.787 MB / 1.491 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.292, allocations: 7.938 kB / 1.491 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/1.293, allocations: 131.8 kB / 1.491 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/1.293, allocations: 69.22 kB / 1.491 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.825e-05/1.293, allocations: 12 kB / 1.491 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/1.295, allocations: 1.793 MB / 1.493 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.295, allocations: 8 kB / 1.493 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/1.297, allocations: 1.078 MB / 1.494 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004912/1.297, allocations: 240.4 kB / 1.494 GB, free: 9.797 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.297, allocations: 12 kB / 1.494 GB, free: 9.785 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/1.298, allocations: 27.97 kB / 1.494 GB, free: 9.758 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.298, allocations: 47.95 kB / 1.494 GB, free: 9.711 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/1.298, allocations: 27.98 kB / 1.494 GB, free: 9.684 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007876/1.299, allocations: 0.5653 MB / 1.495 GB, free: 9.125 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.299, allocations: 0 / 1.495 GB, free: 9.125 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000894/1.3, allocations: 280 kB / 1.495 GB, free: 8.852 MB / 1.186 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.0004933/1.3, allocations: 199.3 kB / 1.495 GB, free: 8.656 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001463/1.302, allocations: 0.7961 MB / 1.496 GB, free: 7.832 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.302, allocations: 0 / 1.496 GB, free: 7.832 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/1.303, allocations: 423.6 kB / 1.496 GB, free: 7.406 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002861/1.306, allocations: 0.6003 MB / 1.497 GB, free: 6.82 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/1.309, allocations: 1.889 MB / 1.499 GB, free: 4.852 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/1.31, allocations: 1.087 MB / 1.5 GB, free: 3.73 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/1.31, allocations: 67.44 kB / 1.5 GB, free: 3.664 MB / 1.186 GB Notification: Performance of SimCode: time 1.032e-06/1.31, allocations: 0 / 1.5 GB, free: 3.664 MB / 1.186 GB Notification: Performance of Templates: time 0.03364/1.343, allocations: 21.99 MB / 1.521 GB, free: 13.78 MB / 1.217 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 14.873482622904703]