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.001847/0.001847, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002066/0.002066, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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 3.479/3.479, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.053e-05, allocations: 4.984 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8613/0.8614, allocations: 219.1 MB / 1.091 GB, free: 47.53 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.8735, allocations: 5.849 MB / 1.097 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.8751, allocations: 54.34 kB / 1.097 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.8766, allocations: 0.5631 MB / 1.098 GB, free: 47.41 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.8819, allocations: 1.985 MB / 1.1 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.8852, allocations: 1.238 MB / 1.101 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004797/0.89, allocations: 3.039 MB / 1.104 GB, free: 46.82 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001444/0.8914, allocations: 0.7975 MB / 1.105 GB, free: 46.72 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004335/0.8958, allocations: 1.68 MB / 1.106 GB, free: 46.57 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003419/0.8992, allocations: 0.9252 MB / 1.107 GB, free: 46.47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.8996, allocations: 108.1 kB / 1.107 GB, free: 46.47 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00417/0.9037, allocations: 1.204 MB / 1.108 GB, free: 46.34 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007756/0.9045, allocations: 0.5018 MB / 1.109 GB, free: 46.28 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.9057, allocations: 486.6 kB / 1.109 GB, free: 46.23 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00438/0.91, allocations: 2.188 MB / 1.112 GB, free: 46.05 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.91, allocations: 3.938 kB / 1.112 GB, free: 46.05 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.565e-06/0.9101, allocations: 1.531 kB / 1.112 GB, free: 46.05 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.9101, allocations: 1.125 kB / 1.112 GB, free: 46.05 MB / 1.01 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.003102/0.9132, allocations: 1.639 MB / 1.113 GB, free: 45.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.9132, allocations: 11.23 kB / 1.113 GB, free: 45.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.9155, allocations: 429.5 kB / 1.114 GB, free: 45.12 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.9175, allocations: 0.807 MB / 1.114 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.646e-05/0.9176, allocations: 69.62 kB / 1.114 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.9178, allocations: 92.59 kB / 1.115 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.9196, allocations: 1.205 MB / 1.116 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.9197, allocations: 0 / 1.116 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.9198, allocations: 38.38 kB / 1.116 GB, free: 44.18 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/0.9198, allocations: 39.92 kB / 1.116 GB, free: 44.17 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.9211, allocations: 0.5649 MB / 1.116 GB, free: 44.16 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/0.9272, allocations: 2.719 MB / 1.119 GB, free: 43.57 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.9279, allocations: 365.5 kB / 1.119 GB, free: 43.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004049/0.9283, allocations: 203.1 kB / 1.12 GB, free: 43.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.9285, allocations: 29.88 kB / 1.12 GB, free: 43.51 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.9285, allocations: 46.72 kB / 1.12 GB, free: 43.47 MB / 1.01 GB Notification: Performance of pre-optimization done (n=47): time 1.865e-05/0.9285, allocations: 0 / 1.12 GB, free: 43.47 MB / 1.01 GB Notification: Performance of matching and sorting (n=49): time 0.003548/0.9321, allocations: 1.334 MB / 1.121 GB, free: 43.05 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9321, allocations: 58.28 kB / 1.121 GB, free: 42.99 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.9333, allocations: 0.7881 MB / 1.122 GB, free: 42.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.9333, allocations: 40.77 kB / 1.122 GB, free: 42.76 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004395/0.9338, allocations: 0.5742 MB / 1.122 GB, free: 42.46 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.934, allocations: 194.2 kB / 1.122 GB, free: 42.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.9343, allocations: 141.1 kB / 1.123 GB, free: 42.31 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002532/0.9345, allocations: 0.6055 MB / 1.123 GB, free: 41.82 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.9349, allocations: 152.7 kB / 1.123 GB, free: 41.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000517/0.9354, allocations: 458.2 kB / 1.124 GB, free: 41.5 MB / 1.01 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.003515/0.9389, allocations: 1.157 MB / 1.125 GB, free: 41.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.9389, allocations: 0.6562 kB / 1.125 GB, free: 41.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001273/0.9402, allocations: 0.6293 MB / 1.126 GB, free: 41.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9402, allocations: 7.938 kB / 1.126 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.9402, allocations: 3.375 kB / 1.126 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.9404, allocations: 62.44 kB / 1.126 GB, free: 41.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/0.9411, allocations: 135.9 kB / 1.126 GB, free: 41.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.9434, allocations: 3.736 MB / 1.129 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.9444, allocations: 32.27 kB / 1.129 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/0.9445, allocations: 24.66 kB / 1.129 GB, free: 37.74 MB / 1.01 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.0005872/0.9451, allocations: 275.2 kB / 1.13 GB, free: 37.57 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.9453, allocations: 98.84 kB / 1.13 GB, free: 37.53 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.9455, allocations: 84.88 kB / 1.13 GB, free: 37.51 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.9455, allocations: 5.406 kB / 1.13 GB, free: 37.51 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.9455, allocations: 1.031 kB / 1.13 GB, free: 37.51 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009171/0.9465, allocations: 0.6993 MB / 1.131 GB, free: 37.05 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.9496, allocations: 1.625 MB / 1.132 GB, free: 36.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9496, allocations: 8.047 kB / 1.132 GB, free: 36.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.9501, allocations: 119.7 kB / 1.132 GB, free: 36.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.9502, allocations: 30.95 kB / 1.132 GB, free: 36.56 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.9503, allocations: 23.97 kB / 1.132 GB, free: 36.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009492/0.9512, allocations: 1.849 MB / 1.134 GB, free: 34.83 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.9512, allocations: 9.375 kB / 1.134 GB, free: 34.83 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.9527, allocations: 0.9137 MB / 1.135 GB, free: 34.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.9532, allocations: 145.9 kB / 1.135 GB, free: 34.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.9533, allocations: 16 kB / 1.135 GB, free: 34.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007337/0.9541, allocations: 25.42 kB / 1.135 GB, free: 34.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.9542, allocations: 48 kB / 1.135 GB, free: 34.37 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.9543, allocations: 30.34 kB / 1.135 GB, free: 34.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007551/0.9551, allocations: 491.3 kB / 1.136 GB, free: 34.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9551, allocations: 0 / 1.136 GB, free: 34.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001626/0.9567, allocations: 282.2 kB / 1.136 GB, free: 34.23 MB / 1.01 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.0004483/0.9571, allocations: 178.9 kB / 1.136 GB, free: 34.14 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.9586, allocations: 0.7878 MB / 1.137 GB, free: 33.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.9586, allocations: 2.25 kB / 1.137 GB, free: 33.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005601/0.9592, allocations: 407.6 kB / 1.137 GB, free: 33.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/0.9619, allocations: 0.4938 MB / 1.138 GB, free: 33.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/0.9652, allocations: 1.694 MB / 1.14 GB, free: 32.68 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.966, allocations: 481.5 kB / 1.14 GB, free: 32.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000924/0.9669, allocations: 167.1 kB / 1.14 GB, free: 32.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.9671, allocations: 64.23 kB / 1.14 GB, free: 32.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.223e-06/0.9671, allocations: 0 / 1.14 GB, free: 32.54 MB / 1.01 GB Notification: Performance of Templates: time 0.03551/1.003, allocations: 18.01 MB / 1.158 GB, free: 30.61 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/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: 10.275100837112404]