Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001697/0.001697, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.001604/0.001604, allocations: 192.7 kB / 20.02 MB, free: 3.039 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.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] 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.877/2.877, allocations: 489.3 MB / 0.7687 GB, free: 3.922 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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8911, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2651/1.156, allocations: 221.2 MB / 1.479 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0103/1.167, allocations: 5.744 MB / 1.484 GB, free: 4.957 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/1.168, allocations: 47.75 kB / 1.484 GB, free: 4.91 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/1.17, allocations: 0.5747 MB / 1.485 GB, free: 4.332 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004989/1.175, allocations: 1.839 MB / 1.487 GB, free: 2.484 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003267/1.178, allocations: 1.191 MB / 1.488 GB, free: 1.301 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004385/1.183, allocations: 2.952 MB / 1.491 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/1.184, allocations: 1.023 MB / 1.492 GB, free: 13.3 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/1.187, allocations: 1.249 MB / 1.493 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/1.19, allocations: 0.9247 MB / 1.494 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003238/1.19, allocations: 108 kB / 1.494 GB, free: 11.02 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/1.193, allocations: 1.419 MB / 1.495 GB, free: 9.598 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006595/1.194, allocations: 462.8 kB / 1.496 GB, free: 9.145 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/1.195, allocations: 0.6572 MB / 1.496 GB, free: 8.484 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003838/1.199, allocations: 2.141 MB / 1.498 GB, free: 6.336 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.199, allocations: 4 kB / 1.498 GB, free: 6.332 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/1.199, allocations: 0 / 1.498 GB, free: 6.332 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.612e-05/1.199, allocations: 0 / 1.498 GB, free: 6.332 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002756/1.202, allocations: 1.537 MB / 1.5 GB, free: 4.738 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/1.202, allocations: 11.97 kB / 1.5 GB, free: 4.727 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/1.204, allocations: 319 kB / 1.5 GB, free: 4.414 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.205, allocations: 0.8637 MB / 1.501 GB, free: 3.508 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/1.205, allocations: 69.98 kB / 1.501 GB, free: 3.441 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/1.205, allocations: 88 kB / 1.501 GB, free: 3.355 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/1.207, allocations: 0.9191 MB / 1.502 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/1.207, allocations: 0 / 1.502 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.696e-05/1.207, allocations: 36 kB / 1.502 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/1.207, allocations: 41.86 kB / 1.502 GB, free: 2.355 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.209, allocations: 0.8315 MB / 1.503 GB, free: 1.523 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005468/1.214, allocations: 3.672 MB / 1.507 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008502/1.215, allocations: 498.7 kB / 1.507 GB, free: 13.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/1.215, allocations: 294.5 kB / 1.507 GB, free: 12.81 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.216, allocations: 109.5 kB / 1.508 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.216, allocations: 46.94 kB / 1.508 GB, free: 12.63 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/1.216, allocations: 4 kB / 1.508 GB, free: 12.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.003896/1.22, allocations: 1.889 MB / 1.509 GB, free: 10.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/1.22, allocations: 59.84 kB / 1.509 GB, free: 10.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.221, allocations: 0.8058 MB / 1.51 GB, free: 9.758 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/1.221, allocations: 37.7 kB / 1.51 GB, free: 9.715 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004017/1.221, allocations: 480.2 kB / 1.511 GB, free: 9.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/1.222, allocations: 190.4 kB / 1.511 GB, free: 9.055 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.222, allocations: 118.3 kB / 1.511 GB, free: 8.934 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.222, allocations: 329.9 kB / 1.511 GB, free: 8.605 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/1.222, allocations: 245.2 kB / 1.512 GB, free: 8.367 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/1.223, allocations: 380.7 kB / 1.512 GB, free: 7.945 MB / 1.201 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.003796/1.227, allocations: 1.532 MB / 1.513 GB, free: 6.355 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/1.227, allocations: 4 kB / 1.513 GB, free: 6.352 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0015/1.228, allocations: 0.7966 MB / 1.514 GB, free: 5.543 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.228, allocations: 8 kB / 1.514 GB, free: 5.535 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.228, allocations: 4 kB / 1.514 GB, free: 5.531 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/1.228, allocations: 69.67 kB / 1.514 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/1.229, allocations: 152.2 kB / 1.514 GB, free: 5.309 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/1.232, allocations: 3.129 MB / 1.518 GB, free: 1.895 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/1.233, allocations: 23.98 kB / 1.518 GB, free: 1.871 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/1.233, allocations: 20 kB / 1.518 GB, free: 1.852 MB / 1.201 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: 14 * 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 (71): * Single equations (assignments): 69 * 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,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005063/1.233, allocations: 311.9 kB / 1.518 GB, free: 1.539 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/1.234, allocations: 95.44 kB / 1.518 GB, free: 1.445 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/1.234, allocations: 100.7 kB / 1.518 GB, free: 1.344 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.234, allocations: 12 kB / 1.518 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.234, allocations: 0 / 1.518 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001136/1.235, allocations: 0.831 MB / 1.519 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/1.238, allocations: 1.807 MB / 1.521 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.238, allocations: 4 kB / 1.521 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/1.239, allocations: 123.8 kB / 1.521 GB, free: 14.38 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/1.239, allocations: 44.83 kB / 1.521 GB, free: 14.33 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/1.239, allocations: 12 kB / 1.521 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/1.241, allocations: 1.61 MB / 1.522 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.241, allocations: 4 kB / 1.522 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.242, allocations: 1.074 MB / 1.523 GB, free: 11.44 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005166/1.243, allocations: 240.5 kB / 1.524 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.243, allocations: 20 kB / 1.524 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/1.244, allocations: 38.75 kB / 1.524 GB, free: 11.13 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.244, allocations: 39.89 kB / 1.524 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/1.244, allocations: 27.98 kB / 1.524 GB, free: 11.06 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008773/1.245, allocations: 0.5654 MB / 1.524 GB, free: 10.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.51e-07/1.245, allocations: 4 kB / 1.524 GB, free: 10.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009909/1.246, allocations: 268 kB / 1.525 GB, free: 10.24 MB / 1.217 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 (47): * Single equations (assignments): 46 * 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.0005638/1.246, allocations: 195.1 kB / 1.525 GB, free: 10.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001481/1.248, allocations: 0.8039 MB / 1.526 GB, free: 9.211 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.248, allocations: 0.8125 kB / 1.526 GB, free: 9.211 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006325/1.249, allocations: 418.1 kB / 1.526 GB, free: 8.789 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.252, allocations: 0.6023 MB / 1.527 GB, free: 8.203 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/1.255, allocations: 1.885 MB / 1.528 GB, free: 6.234 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/1.256, allocations: 1.084 MB / 1.529 GB, free: 5.117 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/1.256, allocations: 75.42 kB / 1.53 GB, free: 5.043 MB / 1.217 GB Notification: Performance of SimCode: time 8.42e-07/1.256, allocations: 0 / 1.53 GB, free: 5.043 MB / 1.217 GB Notification: Performance of Templates: time 0.03269/1.289, allocations: 22.02 MB / 1.551 GB, free: 15.13 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1] [Calling sys.exit(0), Time elapsed: 14.746433852007613]