Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 199 kB / 16.14 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.936/2.936, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001992, allocations: 63.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.648, allocations: 151.6 MB / 1.017 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2786/0.9266, allocations: 218.9 MB / 1.23 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.9379, allocations: 5.779 MB / 1.236 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.9404, allocations: 43.75 kB / 1.236 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.9428, allocations: 0.5013 MB / 1.237 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00569/0.9485, allocations: 1.731 MB / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.9521, allocations: 1.081 MB / 1.239 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006421/0.9585, allocations: 4.107 MB / 1.243 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.96, allocations: 0.8693 MB / 1.244 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.9622, allocations: 0.9179 MB / 1.245 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.9648, allocations: 0.9718 MB / 1.246 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.965, allocations: 52 kB / 1.246 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.9684, allocations: 1.629 MB / 1.248 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005348/0.969, allocations: 414.8 kB / 1.248 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008719/0.9699, allocations: 0.5986 MB / 1.249 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.973, allocations: 2.154 MB / 1.251 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.973, allocations: 0 / 1.251 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.9731, allocations: 0 / 1.251 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.9731, allocations: 0 / 1.251 GB, free: 2.395 MB / 0.9981 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.002778/0.9759, allocations: 1.507 MB / 1.252 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.9759, allocations: 8.031 kB / 1.252 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.9781, allocations: 326.2 kB / 1.253 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5642/1.542, allocations: 0.8038 MB / 1.253 GB, free: 237.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/1.543, allocations: 67.91 kB / 1.253 GB, free: 237.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/1.543, allocations: 89.8 kB / 1.253 GB, free: 237.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/1.545, allocations: 0.916 MB / 1.254 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.078e-05/1.545, allocations: 0 / 1.254 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.546, allocations: 39.34 kB / 1.254 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/1.546, allocations: 35.67 kB / 1.254 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/1.548, allocations: 0.8327 MB / 1.255 GB, free: 236.9 MB / 0.9981 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.009325/1.557, allocations: 3.536 MB / 1.259 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.558, allocations: 492.5 kB / 1.259 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007929/1.559, allocations: 307 kB / 1.259 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/1.56, allocations: 98.67 kB / 1.26 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/1.56, allocations: 47.78 kB / 1.26 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.487e-06/1.56, allocations: 0 / 1.26 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.005037/1.565, allocations: 1.872 MB / 1.261 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.565, allocations: 56.78 kB / 1.261 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/1.566, allocations: 0.8088 MB / 1.262 GB, free: 233 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.731e-05/1.566, allocations: 34.88 kB / 1.262 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/1.567, allocations: 478.4 kB / 1.263 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/1.567, allocations: 173.1 kB / 1.263 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.567, allocations: 117.7 kB / 1.263 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.394e-05/1.567, allocations: 327.2 kB / 1.263 GB, free: 232 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/1.568, allocations: 252.3 kB / 1.264 GB, free: 232 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006026/1.568, allocations: 377.9 kB / 1.264 GB, free: 231.7 MB / 0.9981 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.004322/1.573, allocations: 1.543 MB / 1.265 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.573, allocations: 4.375 kB / 1.265 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002144/1.575, allocations: 0.7949 MB / 1.266 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/1.575, allocations: 7.297 kB / 1.266 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.575, allocations: 5.094 kB / 1.266 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/1.575, allocations: 66.2 kB / 1.266 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/1.576, allocations: 150 kB / 1.266 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/1.578, allocations: 2.893 MB / 1.269 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.579, allocations: 66.31 kB / 1.269 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/1.579, allocations: 23.03 kB / 1.269 GB, free: 228 MB / 0.9981 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.0006702/1.58, allocations: 309.4 kB / 1.27 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.58, allocations: 93.66 kB / 1.27 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/1.58, allocations: 100.4 kB / 1.27 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.581, allocations: 8.656 kB / 1.27 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.581, allocations: 4.438 kB / 1.27 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/1.582, allocations: 0.838 MB / 1.271 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.585, allocations: 1.788 MB / 1.272 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.585, allocations: 3.156 kB / 1.272 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/1.586, allocations: 127.5 kB / 1.273 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/1.586, allocations: 39.88 kB / 1.273 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/1.586, allocations: 16.3 kB / 1.273 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/1.587, allocations: 1.48 MB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.587, allocations: 6.656 kB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/1.589, allocations: 1.069 MB / 1.275 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/1.589, allocations: 234.5 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.589, allocations: 15.91 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/1.59, allocations: 66.69 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/1.59, allocations: 51.77 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/1.59, allocations: 29.45 kB / 1.275 GB, free: 224 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008981/1.591, allocations: 0.5616 MB / 1.276 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.591, allocations: 1.312 kB / 1.276 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001139/1.592, allocations: 278.9 kB / 1.276 GB, free: 223.7 MB / 0.9981 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.000506/1.593, allocations: 179.8 kB / 1.276 GB, free: 223.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001427/1.594, allocations: 0.7948 MB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.594, allocations: 6.688 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/1.595, allocations: 414.1 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/1.598, allocations: 0.5788 MB / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/1.601, allocations: 2.169 MB / 1.28 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/1.601, allocations: 1.087 MB / 1.281 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001005/1.602, allocations: 223.4 kB / 1.282 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/1.603, allocations: 66.53 kB / 1.282 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.82e-07/1.603, allocations: 4 kB / 1.282 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03011/1.633, allocations: 19.08 MB / 1.3 GB, free: 205.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches