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.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.001751/0.001751, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002167/0.002167, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.895/2.895, allocations: 394.2 MB / 0.6387 GB, free: 11.89 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002145/0.002145, allocations: 71.88 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/0.8424, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2531/1.095, allocations: 196.1 MB / 1.378 GB, free: 1.578 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01048/1.106, allocations: 5.441 MB / 1.383 GB, free: 12.12 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.107, allocations: 55.56 kB / 1.383 GB, free: 12.07 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/1.109, allocations: 0.5513 MB / 1.384 GB, free: 11.52 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/1.113, allocations: 1.94 MB / 1.386 GB, free: 9.57 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/1.116, allocations: 1.205 MB / 1.387 GB, free: 8.371 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004576/1.121, allocations: 3.019 MB / 1.39 GB, free: 5.344 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/1.122, allocations: 0.758 MB / 1.391 GB, free: 4.566 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/1.125, allocations: 1.343 MB / 1.392 GB, free: 3.219 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/1.127, allocations: 0.9621 MB / 1.393 GB, free: 2.266 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/1.127, allocations: 108 kB / 1.393 GB, free: 2.16 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/1.13, allocations: 1.177 MB / 1.394 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005362/1.13, allocations: 478.6 kB / 1.395 GB, free: 0.5117 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/1.131, allocations: 0.5486 MB / 1.395 GB, free: 15.96 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/1.134, allocations: 2.102 MB / 1.397 GB, free: 13.85 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.134, allocations: 7.938 kB / 1.397 GB, free: 13.84 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.523e-06/1.134, allocations: 0 / 1.397 GB, free: 13.84 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.833e-05/1.134, allocations: 0 / 1.397 GB, free: 13.84 MB / 1.248 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.002466/1.136, allocations: 1.458 MB / 1.399 GB, free: 12.35 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.137, allocations: 12.03 kB / 1.399 GB, free: 12.34 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/1.139, allocations: 330.8 kB / 1.399 GB, free: 12.01 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/1.14, allocations: 0.7915 MB / 1.4 GB, free: 11.19 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/1.14, allocations: 66 kB / 1.4 GB, free: 11.13 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/1.14, allocations: 84 kB / 1.4 GB, free: 11.05 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/1.142, allocations: 1.369 MB / 1.401 GB, free: 9.562 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.142, allocations: 7.969 kB / 1.401 GB, free: 9.555 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/1.142, allocations: 36 kB / 1.401 GB, free: 9.52 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/1.142, allocations: 33.94 kB / 1.401 GB, free: 9.484 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/1.144, allocations: 0.8276 MB / 1.402 GB, free: 8.656 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/1.149, allocations: 2.387 MB / 1.405 GB, free: 6.223 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/1.15, allocations: 464.7 kB / 1.405 GB, free: 5.762 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/1.15, allocations: 279.2 kB / 1.405 GB, free: 5.488 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/1.15, allocations: 28.48 kB / 1.405 GB, free: 5.461 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/1.15, allocations: 43 kB / 1.405 GB, free: 5.41 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/1.15, allocations: 0 / 1.405 GB, free: 5.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.004043/1.154, allocations: 1.656 MB / 1.407 GB, free: 3.711 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.154, allocations: 63.89 kB / 1.407 GB, free: 3.637 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009578/1.155, allocations: 0.6449 MB / 1.408 GB, free: 2.988 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/1.155, allocations: 45.64 kB / 1.408 GB, free: 2.938 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004442/1.156, allocations: 0.4921 MB / 1.408 GB, free: 2.438 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/1.156, allocations: 186.4 kB / 1.408 GB, free: 2.254 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.156, allocations: 110.3 kB / 1.408 GB, free: 2.137 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.157, allocations: 386.8 kB / 1.409 GB, free: 1.75 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/1.157, allocations: 245.2 kB / 1.409 GB, free: 1.512 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/1.158, allocations: 495.4 kB / 1.409 GB, free: 0.9531 MB / 1.248 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.003799/1.161, allocations: 1.458 MB / 1.411 GB, free: 15.45 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.161, allocations: 0 / 1.411 GB, free: 15.45 MB / 1.264 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001385/1.163, allocations: 0.7834 MB / 1.412 GB, free: 14.66 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.163, allocations: 6.969 kB / 1.412 GB, free: 14.66 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.163, allocations: 4 kB / 1.412 GB, free: 14.65 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/1.163, allocations: 61.69 kB / 1.412 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/1.164, allocations: 156.2 kB / 1.412 GB, free: 14.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/1.167, allocations: 2.861 MB / 1.415 GB, free: 11.37 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/1.167, allocations: 27.98 kB / 1.415 GB, free: 11.34 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.167, allocations: 23.98 kB / 1.415 GB, free: 11.32 MB / 1.264 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.000523/1.168, allocations: 305.8 kB / 1.415 GB, free: 11.01 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/1.168, allocations: 79.47 kB / 1.415 GB, free: 10.93 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/1.168, allocations: 91.36 kB / 1.415 GB, free: 10.84 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.168, allocations: 4 kB / 1.415 GB, free: 10.83 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.168, allocations: 0 / 1.415 GB, free: 10.83 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00117/1.169, allocations: 0.8363 MB / 1.416 GB, free: 9.906 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/1.172, allocations: 1.535 MB / 1.418 GB, free: 8.293 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.172, allocations: 4.406 kB / 1.418 GB, free: 8.289 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/1.173, allocations: 139.8 kB / 1.418 GB, free: 8.152 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/1.173, allocations: 36.83 kB / 1.418 GB, free: 8.113 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/1.173, allocations: 19.94 kB / 1.418 GB, free: 8.094 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/1.174, allocations: 1.464 MB / 1.419 GB, free: 6.527 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.174, allocations: 3.938 kB / 1.419 GB, free: 6.523 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/1.176, allocations: 1.061 MB / 1.42 GB, free: 5.402 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/1.176, allocations: 147.4 kB / 1.42 GB, free: 5.258 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/1.177, allocations: 23.92 kB / 1.42 GB, free: 5.234 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/1.177, allocations: 23.98 kB / 1.42 GB, free: 5.211 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.177, allocations: 47.81 kB / 1.42 GB, free: 5.164 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/1.177, allocations: 31.97 kB / 1.42 GB, free: 5.133 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0005847/1.178, allocations: 455.1 kB / 1.421 GB, free: 4.695 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.178, allocations: 0 / 1.421 GB, free: 4.695 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009085/1.179, allocations: 272 kB / 1.421 GB, free: 4.43 MB / 1.264 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.0003409/1.179, allocations: 168.5 kB / 1.421 GB, free: 4.254 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.181, allocations: 0.792 MB / 1.422 GB, free: 3.438 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.181, allocations: 0 / 1.422 GB, free: 3.438 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006342/1.181, allocations: 400.1 kB / 1.422 GB, free: 3.035 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.183, allocations: 499.5 kB / 1.423 GB, free: 2.562 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/1.187, allocations: 1.816 MB / 1.425 GB, free: 0.6719 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/1.187, allocations: 0.4925 MB / 1.425 GB, free: 148 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006772/1.188, allocations: 198.6 kB / 1.425 GB, free: 15.94 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/1.188, allocations: 64.44 kB / 1.425 GB, free: 15.88 MB / 1.279 GB Notification: Performance of SimCode: time 5.92e-07/1.188, allocations: 0 / 1.425 GB, free: 15.88 MB / 1.279 GB Notification: Performance of Templates: time 0.03246/1.22, allocations: 17.82 MB / 1.443 GB, free: 14.47 MB / 1.295 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 -s ida -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/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.803875504992902]