Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 157.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.768/2.768, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 67.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 176.1 MB / 1.154 GB, free: 33.55 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2651/1.37, allocations: 196 MB / 1.345 GB, free: 4.711 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01047/1.38, allocations: 5.431 MB / 1.351 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/1.382, allocations: 59.5 kB / 1.351 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/1.384, allocations: 0.563 MB / 1.351 GB, free: 14.65 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005747/1.39, allocations: 1.921 MB / 1.353 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/1.393, allocations: 1.206 MB / 1.354 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004648/1.398, allocations: 3.019 MB / 1.357 GB, free: 8.488 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/1.399, allocations: 0.7657 MB / 1.358 GB, free: 7.703 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/1.403, allocations: 1.339 MB / 1.359 GB, free: 6.359 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/1.406, allocations: 0.9598 MB / 1.36 GB, free: 5.406 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/1.406, allocations: 108 kB / 1.36 GB, free: 5.301 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/1.409, allocations: 1.173 MB / 1.362 GB, free: 4.125 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006231/1.41, allocations: 482.6 kB / 1.362 GB, free: 3.652 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008794/1.411, allocations: 0.5524 MB / 1.363 GB, free: 3.098 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/1.414, allocations: 2.106 MB / 1.365 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.414, allocations: 0 / 1.365 GB, free: 0.9844 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.633e-06/1.414, allocations: 4 kB / 1.365 GB, free: 0.9805 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.726e-05/1.414, allocations: 0 / 1.365 GB, free: 0.9805 MB / 1.201 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.002616/1.417, allocations: 1.469 MB / 1.366 GB, free: 15.47 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.417, allocations: 12.03 kB / 1.366 GB, free: 15.46 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/1.419, allocations: 322.9 kB / 1.366 GB, free: 15.14 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/1.42, allocations: 0.7878 MB / 1.367 GB, free: 14.33 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/1.42, allocations: 69.98 kB / 1.367 GB, free: 14.26 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.421, allocations: 91.92 kB / 1.367 GB, free: 14.17 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/1.423, allocations: 1.361 MB / 1.369 GB, free: 12.69 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.423, allocations: 3.938 kB / 1.369 GB, free: 12.69 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/1.423, allocations: 40 kB / 1.369 GB, free: 12.65 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/1.423, allocations: 37.94 kB / 1.369 GB, free: 12.61 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.424, allocations: 0.8276 MB / 1.369 GB, free: 11.79 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/1.43, allocations: 2.391 MB / 1.372 GB, free: 9.348 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000862/1.43, allocations: 465.3 kB / 1.372 GB, free: 8.887 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/1.431, allocations: 274.2 kB / 1.373 GB, free: 8.617 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/1.431, allocations: 28.47 kB / 1.373 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/1.431, allocations: 47.06 kB / 1.373 GB, free: 8.535 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/1.431, allocations: 0 / 1.373 GB, free: 8.535 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.003815/1.435, allocations: 1.652 MB / 1.374 GB, free: 6.848 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.435, allocations: 59.91 kB / 1.374 GB, free: 6.773 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/1.436, allocations: 0.6449 MB / 1.375 GB, free: 6.121 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/1.436, allocations: 41.7 kB / 1.375 GB, free: 6.074 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/1.436, allocations: 0.4921 MB / 1.375 GB, free: 5.574 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.436, allocations: 182.4 kB / 1.376 GB, free: 5.395 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/1.437, allocations: 118.2 kB / 1.376 GB, free: 5.27 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.437, allocations: 382.8 kB / 1.376 GB, free: 4.887 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/1.437, allocations: 253.2 kB / 1.376 GB, free: 4.641 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006823/1.438, allocations: 491.3 kB / 1.377 GB, free: 4.086 MB / 1.217 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.00396/1.442, allocations: 1.455 MB / 1.378 GB, free: 2.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.442, allocations: 0 / 1.378 GB, free: 2.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001539/1.444, allocations: 0.7836 MB / 1.379 GB, free: 1.793 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.444, allocations: 4 kB / 1.379 GB, free: 1.789 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.444, allocations: 4 kB / 1.379 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/1.444, allocations: 69.67 kB / 1.379 GB, free: 1.711 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/1.444, allocations: 151.8 kB / 1.379 GB, free: 1.562 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/1.447, allocations: 2.869 MB / 1.382 GB, free: 14.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/1.448, allocations: 30.17 kB / 1.382 GB, free: 14.46 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/1.448, allocations: 24 kB / 1.382 GB, free: 14.44 MB / 1.232 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.0005233/1.449, allocations: 303 kB / 1.382 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.449, allocations: 87.42 kB / 1.382 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/1.449, allocations: 91.34 kB / 1.382 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.449, allocations: 4 kB / 1.382 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.449, allocations: 3.938 kB / 1.383 GB, free: 13.95 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/1.45, allocations: 0.8363 MB / 1.383 GB, free: 13.02 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/1.453, allocations: 1.53 MB / 1.385 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.453, allocations: 4 kB / 1.385 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/1.454, allocations: 136.2 kB / 1.385 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.907e-05/1.454, allocations: 36.84 kB / 1.385 GB, free: 11.24 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/1.454, allocations: 19.92 kB / 1.385 GB, free: 11.22 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.456, allocations: 1.464 MB / 1.386 GB, free: 9.652 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/1.456, allocations: 7.984 kB / 1.386 GB, free: 9.645 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/1.457, allocations: 1.065 MB / 1.387 GB, free: 8.523 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/1.458, allocations: 147.4 kB / 1.388 GB, free: 8.379 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.65e-05/1.458, allocations: 12 kB / 1.388 GB, free: 8.367 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/1.458, allocations: 38.34 kB / 1.388 GB, free: 8.332 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.459, allocations: 47.81 kB / 1.388 GB, free: 8.285 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/1.459, allocations: 27.98 kB / 1.388 GB, free: 8.258 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006215/1.459, allocations: 455 kB / 1.388 GB, free: 7.82 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/1.459, allocations: 4.062 kB / 1.388 GB, free: 7.816 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009394/1.46, allocations: 272 kB / 1.388 GB, free: 7.551 MB / 1.232 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.0003411/1.461, allocations: 172.4 kB / 1.389 GB, free: 7.371 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001469/1.462, allocations: 0.7849 MB / 1.389 GB, free: 6.559 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.462, allocations: 4 kB / 1.389 GB, free: 6.555 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006405/1.463, allocations: 400 kB / 1.39 GB, free: 6.152 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.465, allocations: 498.4 kB / 1.39 GB, free: 5.68 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/1.468, allocations: 1.817 MB / 1.392 GB, free: 3.789 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/1.469, allocations: 0.4925 MB / 1.392 GB, free: 3.262 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007514/1.47, allocations: 186.6 kB / 1.393 GB, free: 3.074 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/1.47, allocations: 68.48 kB / 1.393 GB, free: 3.004 MB / 1.232 GB Notification: Performance of SimCode: time 1.172e-06/1.47, allocations: 0 / 1.393 GB, free: 3.004 MB / 1.232 GB Notification: Performance of Templates: time 0.03382/1.504, allocations: 17.82 MB / 1.41 GB, free: 1.641 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.001161591033451]