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.001893/0.001893, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002458/0.002458, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.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 3.336/3.336, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 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.0021/0.0021, allocations: 66 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4581, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2762/0.7344, allocations: 196 MB / 1.519 GB, free: 12.18 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.7463, allocations: 5.434 MB / 1.524 GB, free: 6.738 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.7483, allocations: 55.5 kB / 1.524 GB, free: 6.684 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.7502, allocations: 0.563 MB / 1.524 GB, free: 6.117 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.006452/0.7566, allocations: 1.935 MB / 1.526 GB, free: 4.176 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.7607, allocations: 1.22 MB / 1.528 GB, free: 2.961 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005227/0.766, allocations: 3.034 MB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.7674, allocations: 0.7736 MB / 1.531 GB, free: 15.12 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/0.7707, allocations: 1.343 MB / 1.533 GB, free: 13.77 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.7735, allocations: 0.9914 MB / 1.534 GB, free: 12.79 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002358/0.7737, allocations: 108 kB / 1.534 GB, free: 12.68 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/0.7768, allocations: 1.192 MB / 1.535 GB, free: 11.49 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.7774, allocations: 478.6 kB / 1.535 GB, free: 11.02 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008398/0.7782, allocations: 0.5485 MB / 1.536 GB, free: 10.47 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/0.7818, allocations: 2.106 MB / 1.538 GB, free: 8.355 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7818, allocations: 0 / 1.538 GB, free: 8.355 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7818, allocations: 0 / 1.538 GB, free: 8.355 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.7819, allocations: 4 kB / 1.538 GB, free: 8.352 MB / 1.232 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.002786/0.7846, allocations: 1.465 MB / 1.539 GB, free: 6.848 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7847, allocations: 12.03 kB / 1.539 GB, free: 6.836 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.7868, allocations: 326.9 kB / 1.54 GB, free: 6.516 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.7884, allocations: 0.78 MB / 1.54 GB, free: 5.707 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.566e-05/0.7885, allocations: 69.94 kB / 1.54 GB, free: 5.641 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.7887, allocations: 84 kB / 1.541 GB, free: 5.559 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.7907, allocations: 1.365 MB / 1.542 GB, free: 4.074 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.7907, allocations: 4 kB / 1.542 GB, free: 4.07 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.7908, allocations: 35.98 kB / 1.542 GB, free: 4.035 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/0.7909, allocations: 37.94 kB / 1.542 GB, free: 3.996 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.7925, allocations: 0.8315 MB / 1.543 GB, free: 3.168 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.7979, allocations: 2.386 MB / 1.545 GB, free: 0.7383 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.7988, allocations: 475.1 kB / 1.546 GB, free: 280 kB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.7993, allocations: 278 kB / 1.546 GB, free: 15.99 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.7994, allocations: 24.38 kB / 1.546 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.7995, allocations: 43 kB / 1.546 GB, free: 15.92 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 3.046e-06/0.7995, allocations: 3.938 kB / 1.546 GB, free: 15.91 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.004008/0.8035, allocations: 1.648 MB / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.8036, allocations: 59.84 kB / 1.548 GB, free: 14.16 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009331/0.8045, allocations: 0.6526 MB / 1.548 GB, free: 13.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.8046, allocations: 41.7 kB / 1.548 GB, free: 13.45 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.805, allocations: 500 kB / 1.549 GB, free: 12.96 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.8051, allocations: 186.4 kB / 1.549 GB, free: 12.77 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.8054, allocations: 118.2 kB / 1.549 GB, free: 12.65 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.8056, allocations: 382.8 kB / 1.549 GB, free: 12.27 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.806, allocations: 249.1 kB / 1.55 GB, free: 12.02 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.8067, allocations: 483.4 kB / 1.55 GB, free: 11.48 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.003838/0.8105, allocations: 1.458 MB / 1.551 GB, free: 9.973 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8105, allocations: 0 / 1.551 GB, free: 9.973 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001505/0.812, allocations: 0.7838 MB / 1.552 GB, free: 9.18 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.812, allocations: 5.094 kB / 1.552 GB, free: 9.176 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.812, allocations: 4 kB / 1.552 GB, free: 9.172 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.8122, allocations: 69.67 kB / 1.552 GB, free: 9.098 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.813, allocations: 155.8 kB / 1.552 GB, free: 8.945 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.8158, allocations: 2.861 MB / 1.555 GB, free: 5.879 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/0.8167, allocations: 23.98 kB / 1.555 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.8168, allocations: 23.94 kB / 1.555 GB, free: 5.832 MB / 1.248 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.0007025/0.8175, allocations: 301.6 kB / 1.556 GB, free: 5.527 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.8176, allocations: 91.42 kB / 1.556 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.8178, allocations: 87.52 kB / 1.556 GB, free: 5.348 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8178, allocations: 8 kB / 1.556 GB, free: 5.34 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.8179, allocations: 3.984 kB / 1.556 GB, free: 5.336 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.8191, allocations: 0.8348 MB / 1.557 GB, free: 4.41 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.8222, allocations: 1.529 MB / 1.558 GB, free: 2.801 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.8222, allocations: 4 kB / 1.558 GB, free: 2.797 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.8228, allocations: 131.8 kB / 1.558 GB, free: 2.668 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.8229, allocations: 37.25 kB / 1.558 GB, free: 2.629 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.823, allocations: 19.92 kB / 1.558 GB, free: 2.609 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.8245, allocations: 1.468 MB / 1.56 GB, free: 1.039 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8245, allocations: 0 / 1.56 GB, free: 1.039 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.8262, allocations: 1.074 MB / 1.561 GB, free: 15.91 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/0.8267, allocations: 147.4 kB / 1.561 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.8268, allocations: 12 kB / 1.561 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/0.8274, allocations: 30.41 kB / 1.561 GB, free: 15.72 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.8276, allocations: 51.8 kB / 1.561 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.8276, allocations: 27.98 kB / 1.561 GB, free: 15.64 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006368/0.8283, allocations: 455 kB / 1.561 GB, free: 15.21 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8283, allocations: 3.938 kB / 1.561 GB, free: 15.2 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009608/0.8292, allocations: 271.9 kB / 1.562 GB, free: 14.94 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.0003902/0.8296, allocations: 183.8 kB / 1.562 GB, free: 14.75 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.8311, allocations: 0.7805 MB / 1.563 GB, free: 13.94 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8311, allocations: 0 / 1.563 GB, free: 13.94 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.8317, allocations: 403.5 kB / 1.563 GB, free: 13.54 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.8338, allocations: 493.6 kB / 1.563 GB, free: 13.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.8371, allocations: 1.821 MB / 1.565 GB, free: 11.17 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006131/0.8377, allocations: 0.4925 MB / 1.566 GB, free: 10.64 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007205/0.8384, allocations: 186.6 kB / 1.566 GB, free: 10.46 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.8386, allocations: 63.44 kB / 1.566 GB, free: 10.39 MB / 1.264 GB Notification: Performance of SimCode: time 9.12e-07/0.8386, allocations: 0 / 1.566 GB, free: 10.39 MB / 1.264 GB Notification: Performance of Templates: time 0.03549/0.8741, allocations: 19.59 MB / 1.585 GB, free: 7.242 MB / 1.279 GB " [Timeout remaining time 299] 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 cvode -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.554908446996706]