Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 249.9 MB, free: 13.65 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 443.5 MB / 0.731 GB, free: 12.89 MB / 0.5919 GB [Timeout remaining time 87] 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=502,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=502,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.88 kB / 1.06 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8321, allocations: 160.7 MB / 1.217 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2268/1.059, allocations: 191.1 MB / 1.403 GB, free: 7.926 MB / 1.108 GB Notification: Performance of NFInst.instExpressions: time 0.01001/1.069, allocations: 5.729 MB / 1.409 GB, free: 2.188 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/1.07, allocations: 43.75 kB / 1.409 GB, free: 2.145 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/1.072, allocations: 0.5981 MB / 1.409 GB, free: 1.543 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.006668/1.079, allocations: 1.902 MB / 1.411 GB, free: 15.63 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/1.083, allocations: 1.206 MB / 1.412 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004525/1.088, allocations: 2.956 MB / 1.415 GB, free: 11.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/1.089, allocations: 0.9408 MB / 1.416 GB, free: 10.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/1.091, allocations: 1.113 MB / 1.417 GB, free: 9.387 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.094, allocations: 1.036 MB / 1.418 GB, free: 8.352 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/1.094, allocations: 120 kB / 1.418 GB, free: 8.234 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/1.097, allocations: 1.535 MB / 1.42 GB, free: 6.695 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008243/1.098, allocations: 0.5843 MB / 1.421 GB, free: 6.109 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00111/1.099, allocations: 0.7195 MB / 1.421 GB, free: 5.387 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004163/1.104, allocations: 2.34 MB / 1.424 GB, free: 3.043 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.104, allocations: 4 kB / 1.424 GB, free: 3.039 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.854e-06/1.104, allocations: 0 / 1.424 GB, free: 3.039 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.598e-05/1.104, allocations: 4 kB / 1.424 GB, free: 3.035 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002972/1.107, allocations: 1.659 MB / 1.425 GB, free: 1.32 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.107, allocations: 8.625 kB / 1.425 GB, free: 1.312 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/1.109, allocations: 334.9 kB / 1.426 GB, free: 0.9844 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/1.11, allocations: 0.9182 MB / 1.426 GB, free: 24 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/1.111, allocations: 74.05 kB / 1.426 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/1.111, allocations: 103.9 kB / 1.427 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/1.113, allocations: 1.085 MB / 1.428 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.113, allocations: 0 / 1.428 GB, free: 14.76 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.113, allocations: 44 kB / 1.428 GB, free: 14.72 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/1.113, allocations: 34 kB / 1.428 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/1.115, allocations: 0.9993 MB / 1.429 GB, free: 13.68 MB / 1.139 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.006967/1.122, allocations: 4.232 MB / 1.433 GB, free: 9.152 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009848/1.123, allocations: 0.5613 MB / 1.433 GB, free: 8.586 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/1.123, allocations: 319.1 kB / 1.434 GB, free: 8.273 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/1.123, allocations: 109.5 kB / 1.434 GB, free: 8.148 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.123, allocations: 43 kB / 1.434 GB, free: 8.098 MB / 1.139 GB Notification: Performance of pre-optimization done (n=53): time 2.024e-06/1.123, allocations: 0 / 1.434 GB, free: 8.098 MB / 1.139 GB Notification: Performance of matching and sorting (n=55): time 0.004499/1.128, allocations: 2.21 MB / 1.436 GB, free: 5.773 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.128, allocations: 63.91 kB / 1.436 GB, free: 5.699 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/1.129, allocations: 0.8921 MB / 1.437 GB, free: 4.801 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/1.129, allocations: 37.7 kB / 1.437 GB, free: 4.758 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004453/1.13, allocations: 0.5235 MB / 1.437 GB, free: 4.227 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.13, allocations: 206.2 kB / 1.438 GB, free: 4.023 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.13, allocations: 134.6 kB / 1.438 GB, free: 3.887 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.13, allocations: 334 kB / 1.438 GB, free: 3.555 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/1.131, allocations: 285.8 kB / 1.438 GB, free: 3.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/1.132, allocations: 444.7 kB / 1.439 GB, free: 2.793 MB / 1.139 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.004158/1.136, allocations: 1.742 MB / 1.44 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.136, allocations: 0 / 1.44 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001758/1.137, allocations: 0.9263 MB / 1.441 GB, free: 40 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.137, allocations: 7.938 kB / 1.441 GB, free: 32 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/1.137, allocations: 4 kB / 1.441 GB, free: 28 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/1.138, allocations: 106.8 kB / 1.442 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/1.139, allocations: 163.8 kB / 1.442 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/1.143, allocations: 4.633 MB / 1.446 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/1.144, allocations: 31.94 kB / 1.446 GB, free: 10.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.811e-05/1.144, allocations: 27.98 kB / 1.446 GB, free: 10.64 MB / 1.154 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: 17 * 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 (80): * Single equations (assignments): 77 * 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,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006627/1.145, allocations: 348.6 kB / 1.447 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/1.145, allocations: 103.4 kB / 1.447 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/1.145, allocations: 113.2 kB / 1.447 GB, free: 10.08 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/1.145, allocations: 8 kB / 1.447 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.145, allocations: 0 / 1.447 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/1.147, allocations: 0.7613 MB / 1.448 GB, free: 9.254 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/1.15, allocations: 1.992 MB / 1.449 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/1.15, allocations: 8 kB / 1.449 GB, free: 7.152 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/1.151, allocations: 143.8 kB / 1.45 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/1.151, allocations: 37.25 kB / 1.45 GB, free: 6.973 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/1.151, allocations: 23.98 kB / 1.45 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/1.153, allocations: 1.606 MB / 1.451 GB, free: 5.203 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/1.153, allocations: 8.062 kB / 1.451 GB, free: 5.195 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/1.155, allocations: 1.204 MB / 1.452 GB, free: 3.934 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006936/1.156, allocations: 264.3 kB / 1.453 GB, free: 3.656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/1.156, allocations: 15.98 kB / 1.453 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/1.157, allocations: 34.56 kB / 1.453 GB, free: 3.609 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.157, allocations: 51.81 kB / 1.453 GB, free: 3.559 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.168e-05/1.157, allocations: 31.98 kB / 1.453 GB, free: 3.527 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001011/1.158, allocations: 0.6122 MB / 1.453 GB, free: 2.922 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.158, allocations: 0 / 1.453 GB, free: 2.922 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001184/1.159, allocations: 304 kB / 1.454 GB, free: 2.625 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005982/1.16, allocations: 208.2 kB / 1.454 GB, free: 2.422 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.162, allocations: 0.9836 MB / 1.455 GB, free: 1.402 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.162, allocations: 4 kB / 1.455 GB, free: 1.398 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/1.162, allocations: 430.2 kB / 1.455 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.165, allocations: 0.644 MB / 1.456 GB, free: 340 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/1.17, allocations: 2.221 MB / 1.458 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.171, allocations: 1.163 MB / 1.459 GB, free: 12.84 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/1.171, allocations: 83.42 kB / 1.459 GB, free: 12.76 MB / 1.17 GB Notification: Performance of SimCode: time 8.61e-07/1.171, allocations: 0 / 1.459 GB, free: 12.76 MB / 1.17 GB Notification: Performance of Templates: time 0.04232/1.214, allocations: 27.13 MB / 1.486 GB, free: 1.773 MB / 1.186 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]