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.001507/0.001507, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001731/0.001731, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 8.027 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 2.898/2.898, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.001926/0.001926, allocations: 67.14 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 176.1 MB / 1.327 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2425/0.5403, allocations: 225.6 MB / 1.547 GB, free: 15 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.00979/0.55, allocations: 5.771 MB / 1.553 GB, free: 9.219 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.5516, allocations: 59.5 kB / 1.553 GB, free: 9.16 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.5532, allocations: 0.6059 MB / 1.554 GB, free: 8.551 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.558, allocations: 1.953 MB / 1.556 GB, free: 6.59 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.5612, allocations: 1.245 MB / 1.557 GB, free: 5.352 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00432/0.5655, allocations: 3.038 MB / 1.56 GB, free: 2.301 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.5667, allocations: 0.7697 MB / 1.561 GB, free: 1.512 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.5692, allocations: 1.331 MB / 1.562 GB, free: 180 kB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.5714, allocations: 1 MB / 1.563 GB, free: 15.19 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.5716, allocations: 108 kB / 1.563 GB, free: 15.08 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.5745, allocations: 1.535 MB / 1.564 GB, free: 13.54 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00053/0.5751, allocations: 478.6 kB / 1.565 GB, free: 13.07 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007771/0.5759, allocations: 0.6534 MB / 1.566 GB, free: 12.42 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.5791, allocations: 2.137 MB / 1.568 GB, free: 10.27 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5791, allocations: 0 / 1.568 GB, free: 10.27 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5791, allocations: 0 / 1.568 GB, free: 10.27 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.5792, allocations: 4 kB / 1.568 GB, free: 10.27 MB / 1.264 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.00249/0.5816, allocations: 1.465 MB / 1.569 GB, free: 8.766 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5817, allocations: 12.03 kB / 1.569 GB, free: 8.754 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.5835, allocations: 326.8 kB / 1.569 GB, free: 8.434 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.585, allocations: 0.7877 MB / 1.57 GB, free: 7.617 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.585, allocations: 66 kB / 1.57 GB, free: 7.555 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.5852, allocations: 84 kB / 1.57 GB, free: 7.473 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.5867, allocations: 0.913 MB / 1.571 GB, free: 6.551 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5867, allocations: 0 / 1.571 GB, free: 6.551 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.5868, allocations: 43.94 kB / 1.571 GB, free: 6.508 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.5869, allocations: 41.86 kB / 1.571 GB, free: 6.465 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.5883, allocations: 0.8315 MB / 1.572 GB, free: 5.637 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005411/0.5937, allocations: 3.622 MB / 1.576 GB, free: 1.762 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.5945, allocations: 472.4 kB / 1.576 GB, free: 1.293 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.595, allocations: 278 kB / 1.576 GB, free: 1.016 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000161/0.5951, allocations: 24.41 kB / 1.576 GB, free: 0.9883 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.5952, allocations: 50.92 kB / 1.576 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.5952, allocations: 0 / 1.576 GB, free: 0.9297 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003442/0.5986, allocations: 1.663 MB / 1.578 GB, free: 15.23 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.5987, allocations: 55.84 kB / 1.578 GB, free: 15.16 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009748/0.5996, allocations: 0.8136 MB / 1.579 GB, free: 14.34 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.5997, allocations: 37.7 kB / 1.579 GB, free: 14.3 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003725/0.6001, allocations: 480.2 kB / 1.579 GB, free: 13.82 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.6002, allocations: 186.4 kB / 1.58 GB, free: 13.64 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.6004, allocations: 114.2 kB / 1.58 GB, free: 13.52 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6006, allocations: 338 kB / 1.58 GB, free: 13.18 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.601, allocations: 245.2 kB / 1.58 GB, free: 12.95 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.6015, allocations: 384.6 kB / 1.581 GB, free: 12.52 MB / 1.279 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.003551/0.6051, allocations: 1.454 MB / 1.582 GB, free: 11.02 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6051, allocations: 0 / 1.582 GB, free: 11.02 MB / 1.279 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001339/0.6064, allocations: 0.7955 MB / 1.583 GB, free: 10.21 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6064, allocations: 4 kB / 1.583 GB, free: 10.21 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6065, allocations: 4 kB / 1.583 GB, free: 10.21 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/0.6066, allocations: 69.67 kB / 1.583 GB, free: 10.13 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.6073, allocations: 147.8 kB / 1.583 GB, free: 9.988 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/0.61, allocations: 2.918 MB / 1.586 GB, free: 6.84 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.6108, allocations: 24.14 kB / 1.586 GB, free: 6.816 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.6108, allocations: 27.98 kB / 1.586 GB, free: 6.789 MB / 1.279 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.000515/0.6113, allocations: 313.5 kB / 1.586 GB, free: 6.473 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6115, allocations: 99.39 kB / 1.586 GB, free: 6.375 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.6117, allocations: 100.8 kB / 1.586 GB, free: 6.273 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6117, allocations: 7.984 kB / 1.586 GB, free: 6.266 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6117, allocations: 0 / 1.586 GB, free: 6.266 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.6128, allocations: 0.8387 MB / 1.587 GB, free: 5.336 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.6156, allocations: 1.755 MB / 1.589 GB, free: 3.488 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6156, allocations: 4.406 kB / 1.589 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.6162, allocations: 135.8 kB / 1.589 GB, free: 3.352 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.427e-05/0.6163, allocations: 40.83 kB / 1.589 GB, free: 3.309 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.6163, allocations: 12 kB / 1.589 GB, free: 3.297 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.6176, allocations: 1.499 MB / 1.591 GB, free: 1.684 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.6177, allocations: 11.88 kB / 1.591 GB, free: 1.672 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.6193, allocations: 1.07 MB / 1.592 GB, free: 0.5469 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.6197, allocations: 159.4 kB / 1.592 GB, free: 400 kB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6198, allocations: 11.98 kB / 1.592 GB, free: 388 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.6204, allocations: 39.03 kB / 1.592 GB, free: 352 kB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.6205, allocations: 47.86 kB / 1.592 GB, free: 304 kB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.6206, allocations: 27.98 kB / 1.592 GB, free: 276 kB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007217/0.6213, allocations: 0.5576 MB / 1.592 GB, free: 15.72 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.6213, allocations: 0 / 1.592 GB, free: 15.72 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008709/0.6222, allocations: 276 kB / 1.593 GB, free: 15.45 MB / 1.295 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.0003344/0.6225, allocations: 184.6 kB / 1.593 GB, free: 15.26 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.6238, allocations: 0.788 MB / 1.594 GB, free: 14.44 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6238, allocations: 0 / 1.594 GB, free: 14.44 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.6244, allocations: 403.6 kB / 1.594 GB, free: 14.04 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.6268, allocations: 0.6072 MB / 1.595 GB, free: 13.45 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.6299, allocations: 1.903 MB / 1.596 GB, free: 11.46 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/0.6306, allocations: 1.084 MB / 1.598 GB, free: 10.34 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.6308, allocations: 75.42 kB / 1.598 GB, free: 10.27 MB / 1.295 GB Notification: Performance of SimCode: time 2.014e-06/0.6308, allocations: 0 / 1.598 GB, free: 10.27 MB / 1.295 GB Notification: Performance of Templates: time 0.5954/1.226, allocations: 22.12 MB / 1.619 GB, free: 274.5 MB / 1.295 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 -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] "" 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.228255135007203]