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.00126/0.00126, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001405/0.001405, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.833/2.833, allocations: 0.49 GB / 0.7923 GB, free: 1.316 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.002074/0.002074, allocations: 71.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.932, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2796/1.212, allocations: 225 MB / 1.542 GB, free: 8.09 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01085/1.222, allocations: 5.754 MB / 1.547 GB, free: 2.324 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002144/1.225, allocations: 59.5 kB / 1.547 GB, free: 2.266 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/1.227, allocations: 0.6059 MB / 1.548 GB, free: 1.656 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005772/1.232, allocations: 1.911 MB / 1.55 GB, free: 15.74 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003545/1.236, allocations: 1.201 MB / 1.551 GB, free: 14.54 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004718/1.241, allocations: 2.971 MB / 1.554 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/1.242, allocations: 0.8472 MB / 1.555 GB, free: 10.7 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/1.245, allocations: 1.339 MB / 1.556 GB, free: 9.355 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/1.248, allocations: 0.9861 MB / 1.557 GB, free: 8.379 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/1.248, allocations: 108 kB / 1.557 GB, free: 8.273 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/1.252, allocations: 1.504 MB / 1.559 GB, free: 6.766 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006651/1.252, allocations: 474.6 kB / 1.559 GB, free: 6.301 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.253, allocations: 0.6533 MB / 1.56 GB, free: 5.645 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004053/1.257, allocations: 2.145 MB / 1.562 GB, free: 3.492 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.257, allocations: 0 / 1.562 GB, free: 3.492 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.823e-06/1.257, allocations: 0 / 1.562 GB, free: 3.492 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.618e-05/1.258, allocations: 0 / 1.562 GB, free: 3.492 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.002871/1.26, allocations: 1.541 MB / 1.563 GB, free: 1.895 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.26, allocations: 19.97 kB / 1.563 GB, free: 1.875 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/1.262, allocations: 322.9 kB / 1.564 GB, free: 1.559 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/1.264, allocations: 0.8637 MB / 1.564 GB, free: 0.6523 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/1.264, allocations: 66 kB / 1.565 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.264, allocations: 84 kB / 1.565 GB, free: 0.5078 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/1.266, allocations: 0.913 MB / 1.565 GB, free: 15.59 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/1.266, allocations: 3.984 kB / 1.565 GB, free: 15.58 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/1.266, allocations: 44 kB / 1.566 GB, free: 15.54 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/1.266, allocations: 37.92 kB / 1.566 GB, free: 15.5 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.268, allocations: 0.8354 MB / 1.566 GB, free: 14.67 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/1.274, allocations: 3.668 MB / 1.57 GB, free: 10.74 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/1.275, allocations: 472.4 kB / 1.57 GB, free: 10.27 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/1.275, allocations: 278.5 kB / 1.571 GB, free: 10 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/1.275, allocations: 97.53 kB / 1.571 GB, free: 9.883 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/1.275, allocations: 54.88 kB / 1.571 GB, free: 9.82 MB / 1.248 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/1.275, allocations: 0 / 1.571 GB, free: 9.82 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.003961/1.279, allocations: 1.889 MB / 1.573 GB, free: 7.84 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.279, allocations: 59.83 kB / 1.573 GB, free: 7.77 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.28, allocations: 0.8136 MB / 1.574 GB, free: 6.945 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/1.28, allocations: 37.7 kB / 1.574 GB, free: 6.902 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/1.281, allocations: 484.2 kB / 1.574 GB, free: 6.426 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/1.281, allocations: 186.4 kB / 1.574 GB, free: 6.242 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/1.281, allocations: 114.2 kB / 1.574 GB, free: 6.125 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.281, allocations: 334 kB / 1.575 GB, free: 5.793 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/1.282, allocations: 249.2 kB / 1.575 GB, free: 5.551 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/1.282, allocations: 380.7 kB / 1.575 GB, free: 5.129 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.003965/1.286, allocations: 1.532 MB / 1.577 GB, free: 3.539 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/1.286, allocations: 4 kB / 1.577 GB, free: 3.535 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001533/1.288, allocations: 0.7969 MB / 1.578 GB, free: 2.723 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.288, allocations: 8 kB / 1.578 GB, free: 2.715 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.288, allocations: 0 / 1.578 GB, free: 2.715 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/1.288, allocations: 73.61 kB / 1.578 GB, free: 2.637 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/1.289, allocations: 151.8 kB / 1.578 GB, free: 2.488 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/1.292, allocations: 3.109 MB / 1.581 GB, free: 15.1 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/1.293, allocations: 37.95 kB / 1.581 GB, free: 15.06 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/1.293, allocations: 20 kB / 1.581 GB, free: 15.04 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.0005299/1.293, allocations: 309.6 kB / 1.581 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/1.294, allocations: 99.39 kB / 1.581 GB, free: 14.63 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/1.294, allocations: 100.7 kB / 1.581 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.294, allocations: 4 kB / 1.581 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.294, allocations: 0 / 1.581 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.295, allocations: 0.8388 MB / 1.582 GB, free: 13.6 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/1.298, allocations: 1.788 MB / 1.584 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.298, allocations: 0 / 1.584 GB, free: 11.71 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/1.299, allocations: 136.2 kB / 1.584 GB, free: 11.58 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/1.299, allocations: 48.77 kB / 1.584 GB, free: 11.53 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/1.299, allocations: 12 kB / 1.584 GB, free: 11.52 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/1.3, allocations: 1.598 MB / 1.586 GB, free: 9.781 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.3, allocations: 4 kB / 1.586 GB, free: 9.777 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.302, allocations: 1.074 MB / 1.587 GB, free: 8.641 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/1.303, allocations: 240.5 kB / 1.587 GB, free: 8.387 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/1.303, allocations: 12 kB / 1.587 GB, free: 8.375 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/1.303, allocations: 38.55 kB / 1.587 GB, free: 8.34 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.304, allocations: 39.95 kB / 1.587 GB, free: 8.301 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/1.304, allocations: 31.98 kB / 1.587 GB, free: 8.27 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008246/1.304, allocations: 0.5614 MB / 1.588 GB, free: 7.715 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/1.304, allocations: 0 / 1.588 GB, free: 7.715 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000956/1.305, allocations: 280 kB / 1.588 GB, free: 7.441 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.0003755/1.306, allocations: 186.9 kB / 1.588 GB, free: 7.246 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00148/1.307, allocations: 0.7845 MB / 1.589 GB, free: 6.441 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.307, allocations: 0 / 1.589 GB, free: 6.441 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006388/1.308, allocations: 391.7 kB / 1.589 GB, free: 6.047 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.311, allocations: 0.6099 MB / 1.59 GB, free: 5.453 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/1.314, allocations: 1.893 MB / 1.592 GB, free: 3.477 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/1.315, allocations: 1.084 MB / 1.593 GB, free: 2.363 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/1.315, allocations: 75.42 kB / 1.593 GB, free: 2.289 MB / 1.264 GB Notification: Performance of SimCode: time 1.102e-06/1.315, allocations: 0 / 1.593 GB, free: 2.289 MB / 1.264 GB Notification: Performance of Templates: time 0.03359/1.349, allocations: 22.15 MB / 1.614 GB, free: 12.27 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: 15.258834645996103]