Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001525/0.001525, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001618/0.001618, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.417/1.417, allocations: 225.6 MB / 248.5 MB, free: 3.602 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.53/2.53, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 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.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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.89 kB / 1.057 GB, free: 1.969 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 160.7 MB / 1.214 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8899/1.209, allocations: 221.9 MB / 1.431 GB, free: 492 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01092/1.22, allocations: 5.739 MB / 1.436 GB, free: 11.8 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/1.222, allocations: 43.66 kB / 1.436 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/1.223, allocations: 0.6122 MB / 1.437 GB, free: 11.29 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005311/1.229, allocations: 1.91 MB / 1.439 GB, free: 9.809 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/1.232, allocations: 1.203 MB / 1.44 GB, free: 8.895 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004323/1.237, allocations: 2.959 MB / 1.443 GB, free: 6.824 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/1.238, allocations: 0.8511 MB / 1.444 GB, free: 5.953 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/1.24, allocations: 1.109 MB / 1.445 GB, free: 4.84 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/1.243, allocations: 1.023 MB / 1.446 GB, free: 3.828 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002684/1.243, allocations: 108 kB / 1.446 GB, free: 3.723 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003807/1.247, allocations: 1.516 MB / 1.447 GB, free: 2.203 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007043/1.248, allocations: 470.6 kB / 1.448 GB, free: 1.742 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/1.249, allocations: 0.6611 MB / 1.449 GB, free: 1.078 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.253, allocations: 2.134 MB / 1.451 GB, free: 14.94 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.253, allocations: 3.938 kB / 1.451 GB, free: 14.93 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.332e-06/1.253, allocations: 0 / 1.451 GB, free: 14.93 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.256e-05/1.253, allocations: 0 / 1.451 GB, free: 14.93 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002877/1.256, allocations: 1.541 MB / 1.452 GB, free: 13.34 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.256, allocations: 8.031 kB / 1.452 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.258, allocations: 328.3 kB / 1.452 GB, free: 13.01 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/1.26, allocations: 0.8598 MB / 1.453 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/1.26, allocations: 66 kB / 1.453 GB, free: 12.04 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.26, allocations: 84 kB / 1.453 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.262, allocations: 0.9169 MB / 1.454 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.262, allocations: 0 / 1.454 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/1.262, allocations: 39.98 kB / 1.454 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/1.262, allocations: 34 kB / 1.454 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/1.263, allocations: 0.8353 MB / 1.455 GB, free: 10.13 MB / 1.123 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.006226/1.27, allocations: 3.518 MB / 1.459 GB, free: 6.387 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008471/1.271, allocations: 475.5 kB / 1.459 GB, free: 5.918 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/1.271, allocations: 283 kB / 1.459 GB, free: 5.641 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/1.271, allocations: 105.5 kB / 1.459 GB, free: 5.52 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/1.271, allocations: 46.88 kB / 1.46 GB, free: 5.469 MB / 1.123 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/1.271, allocations: 0 / 1.46 GB, free: 5.469 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.004199/1.276, allocations: 1.897 MB / 1.461 GB, free: 3.473 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/1.276, allocations: 55.84 kB / 1.461 GB, free: 3.406 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/1.277, allocations: 0.8097 MB / 1.462 GB, free: 2.586 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.24e-05/1.277, allocations: 37.7 kB / 1.462 GB, free: 2.543 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/1.277, allocations: 484.2 kB / 1.463 GB, free: 2.066 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/1.278, allocations: 182.5 kB / 1.463 GB, free: 1.887 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.278, allocations: 122.2 kB / 1.463 GB, free: 1.762 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.278, allocations: 330 kB / 1.463 GB, free: 1.434 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/1.278, allocations: 249.2 kB / 1.464 GB, free: 1.188 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/1.279, allocations: 384.6 kB / 1.464 GB, free: 0.7656 MB / 1.123 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.003935/1.283, allocations: 1.536 MB / 1.465 GB, free: 15.17 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.283, allocations: 0 / 1.465 GB, free: 15.17 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001546/1.285, allocations: 0.8008 MB / 1.466 GB, free: 14.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.285, allocations: 4 kB / 1.466 GB, free: 14.35 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.285, allocations: 7.938 kB / 1.466 GB, free: 14.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/1.285, allocations: 65.67 kB / 1.466 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/1.285, allocations: 147.8 kB / 1.466 GB, free: 14.13 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.289, allocations: 3.133 MB / 1.47 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009074/1.289, allocations: 25.5 kB / 1.47 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/1.289, allocations: 28 kB / 1.47 GB, free: 10.67 MB / 1.139 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.0005877/1.29, allocations: 312.2 kB / 1.47 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.29, allocations: 95.44 kB / 1.47 GB, free: 10.26 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/1.29, allocations: 100.7 kB / 1.47 GB, free: 10.16 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.29, allocations: 4 kB / 1.47 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.29, allocations: 0 / 1.47 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/1.292, allocations: 0.8357 MB / 1.471 GB, free: 9.227 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003199/1.295, allocations: 1.791 MB / 1.473 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.295, allocations: 4 kB / 1.473 GB, free: 7.332 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/1.296, allocations: 140.2 kB / 1.473 GB, free: 7.195 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/1.296, allocations: 32.84 kB / 1.473 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/1.296, allocations: 19.98 kB / 1.473 GB, free: 7.141 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/1.297, allocations: 1.594 MB / 1.474 GB, free: 5.41 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/1.297, allocations: 11.88 kB / 1.474 GB, free: 5.398 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.299, allocations: 1.066 MB / 1.475 GB, free: 4.277 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/1.299, allocations: 240.4 kB / 1.476 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.3, allocations: 12 kB / 1.476 GB, free: 4.012 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006819/1.3, allocations: 33.95 kB / 1.476 GB, free: 3.98 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.3, allocations: 43.95 kB / 1.476 GB, free: 3.938 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/1.3, allocations: 27.98 kB / 1.476 GB, free: 3.91 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008299/1.301, allocations: 0.5654 MB / 1.476 GB, free: 3.352 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.301, allocations: 0 / 1.476 GB, free: 3.352 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009486/1.302, allocations: 268 kB / 1.477 GB, free: 3.09 MB / 1.139 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.0005203/1.303, allocations: 198.1 kB / 1.477 GB, free: 2.895 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001476/1.304, allocations: 0.7842 MB / 1.478 GB, free: 2.082 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.304, allocations: 3.938 kB / 1.478 GB, free: 2.078 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006249/1.305, allocations: 403.5 kB / 1.478 GB, free: 1.672 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/1.308, allocations: 0.5952 MB / 1.478 GB, free: 1.094 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/1.311, allocations: 1.891 MB / 1.48 GB, free: 15.12 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008457/1.312, allocations: 1.087 MB / 1.481 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/1.312, allocations: 71.44 kB / 1.481 GB, free: 13.93 MB / 1.154 GB Notification: Performance of SimCode: time 8.41e-07/1.312, allocations: 0 / 1.481 GB, free: 13.93 MB / 1.154 GB Notification: Performance of Templates: time 0.03484/1.347, allocations: 22.12 MB / 1.503 GB, free: 7.961 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.265022684819996]