Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001532/0.001532, allocations: 109.4 kB / 17.08 MB, free: 5.984 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.001588/0.001587, allocations: 192.7 kB / 20.03 MB, free: 3.059 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.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.89 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 151.6 MB / 1.176 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9562/1.294, allocations: 190.6 MB / 1.362 GB, free: 2.234 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01117/1.305, allocations: 5.735 MB / 1.368 GB, free: 14.17 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/1.308, allocations: 41.84 kB / 1.368 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/1.31, allocations: 0.5817 MB / 1.368 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005855/1.315, allocations: 1.836 MB / 1.37 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/1.319, allocations: 1.192 MB / 1.371 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005019/1.324, allocations: 2.946 MB / 1.374 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/1.326, allocations: 0.948 MB / 1.375 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/1.328, allocations: 1.043 MB / 1.376 GB, free: 9.938 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/1.331, allocations: 0.9157 MB / 1.377 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/1.331, allocations: 108.6 kB / 1.377 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/1.335, allocations: 1.432 MB / 1.378 GB, free: 8.676 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007083/1.336, allocations: 471.7 kB / 1.379 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/1.337, allocations: 0.6463 MB / 1.379 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004058/1.341, allocations: 2.144 MB / 1.382 GB, free: 6.555 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.341, allocations: 0 / 1.382 GB, free: 6.555 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.827e-06/1.341, allocations: 1.625 kB / 1.382 GB, free: 6.555 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.475e-05/1.341, allocations: 3.938 kB / 1.382 GB, free: 6.551 MB / 1.045 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.003216/1.344, allocations: 1.546 MB / 1.383 GB, free: 5.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.345, allocations: 13.62 kB / 1.383 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/1.347, allocations: 318.8 kB / 1.383 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/1.349, allocations: 0.8586 MB / 1.384 GB, free: 4.566 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.292e-05/1.349, allocations: 64.62 kB / 1.384 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.349, allocations: 83.22 kB / 1.384 GB, free: 4.512 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/1.351, allocations: 0.9156 MB / 1.385 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/1.351, allocations: 3.062 kB / 1.385 GB, free: 3.988 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/1.351, allocations: 35.69 kB / 1.385 GB, free: 3.961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/1.351, allocations: 29.38 kB / 1.385 GB, free: 3.957 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/1.352, allocations: 0.8315 MB / 1.386 GB, free: 3.555 MB / 1.045 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.00598/1.358, allocations: 3.517 MB / 1.39 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007819/1.359, allocations: 0.4899 MB / 1.39 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000473/1.359, allocations: 303.4 kB / 1.39 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/1.36, allocations: 98.56 kB / 1.39 GB, free: 260 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.36, allocations: 52.22 kB / 1.39 GB, free: 204 kB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/1.36, allocations: 0 / 1.39 GB, free: 204 kB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.004401/1.364, allocations: 1.929 MB / 1.392 GB, free: 14.92 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.364, allocations: 63.62 kB / 1.392 GB, free: 14.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.365, allocations: 0.8033 MB / 1.393 GB, free: 14.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/1.365, allocations: 42.67 kB / 1.393 GB, free: 14.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/1.366, allocations: 486.5 kB / 1.394 GB, free: 13.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/1.366, allocations: 176.8 kB / 1.394 GB, free: 13.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.366, allocations: 118.1 kB / 1.394 GB, free: 13.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.366, allocations: 326.2 kB / 1.394 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/1.367, allocations: 242.5 kB / 1.395 GB, free: 13.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/1.367, allocations: 371.9 kB / 1.395 GB, free: 13.01 MB / 1.061 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.003744/1.371, allocations: 1.526 MB / 1.396 GB, free: 12.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.371, allocations: 0 / 1.396 GB, free: 12.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001465/1.373, allocations: 0.7913 MB / 1.397 GB, free: 11.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.373, allocations: 11.64 kB / 1.397 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.373, allocations: 2.562 kB / 1.397 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/1.373, allocations: 95.97 kB / 1.397 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/1.374, allocations: 147.8 kB / 1.397 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/1.377, allocations: 3.292 MB / 1.401 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/1.378, allocations: 26.14 kB / 1.401 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/1.378, allocations: 25.53 kB / 1.401 GB, free: 8.434 MB / 1.061 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.0005594/1.379, allocations: 307.7 kB / 1.401 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/1.379, allocations: 99.34 kB / 1.401 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/1.379, allocations: 100.4 kB / 1.401 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.379, allocations: 4.438 kB / 1.401 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.379, allocations: 0 / 1.401 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/1.38, allocations: 0.8394 MB / 1.402 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/1.383, allocations: 1.8 MB / 1.404 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.383, allocations: 2.719 kB / 1.404 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/1.384, allocations: 127.9 kB / 1.404 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/1.384, allocations: 72.08 kB / 1.404 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.384, allocations: 9.25 kB / 1.404 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.386, allocations: 1.788 MB / 1.406 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.386, allocations: 5.25 kB / 1.406 GB, free: 4.363 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/1.388, allocations: 1.065 MB / 1.407 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/1.388, allocations: 245 kB / 1.407 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.388, allocations: 18.92 kB / 1.407 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/1.389, allocations: 37.3 kB / 1.407 GB, free: 3.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.389, allocations: 41.77 kB / 1.407 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/1.389, allocations: 28.14 kB / 1.407 GB, free: 3.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000793/1.39, allocations: 0.5675 MB / 1.408 GB, free: 3.082 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.39, allocations: 0 / 1.408 GB, free: 3.082 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001001/1.391, allocations: 286 kB / 1.408 GB, free: 3.059 MB / 1.061 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.0005035/1.392, allocations: 195.8 kB / 1.408 GB, free: 2.918 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.393, allocations: 0.8077 MB / 1.409 GB, free: 2.406 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.393, allocations: 0 / 1.409 GB, free: 2.406 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006361/1.394, allocations: 414.2 kB / 1.409 GB, free: 2.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.396, allocations: 0.6083 MB / 1.41 GB, free: 1.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/1.4, allocations: 1.879 MB / 1.412 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/1.401, allocations: 1.084 MB / 1.413 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.401, allocations: 71.77 kB / 1.413 GB, free: 15.7 MB / 1.076 GB Notification: Performance of SimCode: time 8.62e-07/1.401, allocations: 3.938 kB / 1.413 GB, free: 15.7 MB / 1.076 GB Notification: Performance of Templates: time 0.03376/1.435, allocations: 21.98 MB / 1.434 GB, free: 10.09 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.231480120914057]