Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008459/0.0008459, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008335/0.0008335, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9228/0.9228, allocations: 177.1 MB / 203.5 MB, free: 5.676 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.658/1.658, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.153e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7009/0.7009, allocations: 195.6 MB / 1.143 GB, free: 14.79 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007659/0.7086, allocations: 5.423 MB / 1.148 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.7103, allocations: 59.59 kB / 1.148 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.7119, allocations: 0.56 MB / 1.149 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.717, allocations: 1.979 MB / 1.151 GB, free: 9.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.72, allocations: 1.246 MB / 1.152 GB, free: 8.996 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.724, allocations: 3.057 MB / 1.155 GB, free: 7.562 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.7252, allocations: 0.7709 MB / 1.156 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.7274, allocations: 1.469 MB / 1.157 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.7291, allocations: 0.9028 MB / 1.158 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.7293, allocations: 112.1 kB / 1.158 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.7317, allocations: 1.211 MB / 1.159 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004668/0.7322, allocations: 0.4924 MB / 1.16 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.7327, allocations: 475.4 kB / 1.16 GB, free: 5.371 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.736, allocations: 2.167 MB / 1.162 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.736, allocations: 0 / 1.162 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.354e-06/0.736, allocations: 1.125 kB / 1.162 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.229e-05/0.736, allocations: 0 / 1.162 GB, free: 4.625 MB / 0.9948 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.001943/0.738, allocations: 1.458 MB / 1.164 GB, free: 3.699 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.738, allocations: 13.53 kB / 1.164 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.7392, allocations: 327.9 kB / 1.164 GB, free: 3.602 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.7402, allocations: 0.7879 MB / 1.165 GB, free: 3.137 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.317e-05/0.7402, allocations: 64.66 kB / 1.165 GB, free: 3.105 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.7403, allocations: 81.59 kB / 1.165 GB, free: 3.082 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.7415, allocations: 1.368 MB / 1.166 GB, free: 2.172 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.7415, allocations: 3.938 kB / 1.166 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.7416, allocations: 38.06 kB / 1.166 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.7416, allocations: 32.14 kB / 1.166 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009679/0.7426, allocations: 0.8316 MB / 1.167 GB, free: 1.867 MB / 0.9948 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.004014/0.7466, allocations: 2.386 MB / 1.169 GB, free: 0.7266 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.7472, allocations: 469.5 kB / 1.17 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.7475, allocations: 274.1 kB / 1.17 GB, free: 448 kB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.7477, allocations: 27.41 kB / 1.17 GB, free: 444 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.7477, allocations: 41.72 kB / 1.17 GB, free: 400 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=47): time 3.247e-06/0.7477, allocations: 0 / 1.17 GB, free: 400 kB / 0.9948 GB Notification: Performance of matching and sorting (n=49): time 0.003173/0.7509, allocations: 1.664 MB / 1.172 GB, free: 15.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.7509, allocations: 61.31 kB / 1.172 GB, free: 15.5 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/0.7517, allocations: 0.6539 MB / 1.173 GB, free: 15.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.7518, allocations: 37.95 kB / 1.173 GB, free: 15.18 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.7521, allocations: 493.5 kB / 1.173 GB, free: 14.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.7522, allocations: 182.4 kB / 1.173 GB, free: 14.64 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.7524, allocations: 120.2 kB / 1.173 GB, free: 14.58 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7525, allocations: 377 kB / 1.174 GB, free: 14.24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003135/0.7528, allocations: 247.5 kB / 1.174 GB, free: 14.15 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.7533, allocations: 489.1 kB / 1.174 GB, free: 13.8 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.002372/0.7556, allocations: 1.464 MB / 1.176 GB, free: 13.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.7556, allocations: 1.219 kB / 1.176 GB, free: 13.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001048/0.7567, allocations: 0.7728 MB / 1.177 GB, free: 12.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7567, allocations: 11.16 kB / 1.177 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.7567, allocations: 6.938 kB / 1.177 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001379/0.7569, allocations: 73.8 kB / 1.177 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.7572, allocations: 147.8 kB / 1.177 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.7589, allocations: 2.856 MB / 1.18 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/0.7595, allocations: 29.78 kB / 1.18 GB, free: 10.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.7595, allocations: 29.86 kB / 1.18 GB, free: 10.23 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.0005045/0.76, allocations: 306.5 kB / 1.18 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.7601, allocations: 80.5 kB / 1.18 GB, free: 9.988 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.7602, allocations: 87.03 kB / 1.18 GB, free: 9.934 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7602, allocations: 9.469 kB / 1.18 GB, free: 9.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7602, allocations: 3.938 kB / 1.18 GB, free: 9.926 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007934/0.761, allocations: 0.8412 MB / 1.181 GB, free: 9.312 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.7629, allocations: 1.537 MB / 1.182 GB, free: 8.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7629, allocations: 2.781 kB / 1.182 GB, free: 8.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.7633, allocations: 129.1 kB / 1.183 GB, free: 8.512 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.065e-05/0.7634, allocations: 34.28 kB / 1.183 GB, free: 8.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.7634, allocations: 21.34 kB / 1.183 GB, free: 8.488 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007959/0.7642, allocations: 1.471 MB / 1.184 GB, free: 7.172 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7642, allocations: 9.406 kB / 1.184 GB, free: 7.168 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.7652, allocations: 1.044 MB / 1.185 GB, free: 6.609 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.7655, allocations: 159.3 kB / 1.185 GB, free: 6.523 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.7655, allocations: 14.19 kB / 1.185 GB, free: 6.516 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.7659, allocations: 31.48 kB / 1.185 GB, free: 6.508 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.7659, allocations: 45.58 kB / 1.185 GB, free: 6.496 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.766, allocations: 30.56 kB / 1.185 GB, free: 6.488 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004188/0.7664, allocations: 451.8 kB / 1.186 GB, free: 6.293 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7664, allocations: 0 / 1.186 GB, free: 6.293 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008111/0.7672, allocations: 277.6 kB / 1.186 GB, free: 6.27 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.0003707/0.7676, allocations: 177.5 kB / 1.186 GB, free: 6.148 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000918/0.7685, allocations: 0.7815 MB / 1.187 GB, free: 5.742 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.7685, allocations: 2.781 kB / 1.187 GB, free: 5.742 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.7689, allocations: 393.3 kB / 1.187 GB, free: 5.539 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.7702, allocations: 0.4891 MB / 1.188 GB, free: 5.41 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.7722, allocations: 1.795 MB / 1.19 GB, free: 4.375 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.7725, allocations: 0.4886 MB / 1.19 GB, free: 4.227 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.7727, allocations: 60.94 kB / 1.19 GB, free: 4.219 MB / 1.01 GB Notification: Performance of SimCode: time 1.352e-06/0.7727, allocations: 2.656 kB / 1.19 GB, free: 4.219 MB / 1.01 GB Notification: Performance of Templates: time 0.01919/0.7919, allocations: 21.01 MB / 1.211 GB, free: 10.56 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.075102576054633]