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.001337/0.001337, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.726/2.726, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7812, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2682/1.049, allocations: 221.1 MB / 1.233 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009807/1.059, allocations: 5.712 MB / 1.239 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/1.061, allocations: 43.75 kB / 1.239 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/1.062, allocations: 0.5825 MB / 1.239 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004198/1.066, allocations: 1.851 MB / 1.241 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/1.069, allocations: 1.172 MB / 1.242 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00367/1.073, allocations: 2.946 MB / 1.245 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/1.074, allocations: 1.031 MB / 1.246 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/1.076, allocations: 1.058 MB / 1.247 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/1.078, allocations: 0.9483 MB / 1.248 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002121/1.078, allocations: 108 kB / 1.248 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/1.081, allocations: 1.434 MB / 1.25 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/1.082, allocations: 454.8 kB / 1.25 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008187/1.083, allocations: 0.6573 MB / 1.251 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/1.086, allocations: 2.107 MB / 1.253 GB, free: 408 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/1.086, allocations: 4 kB / 1.253 GB, free: 404 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.086, allocations: 3.938 kB / 1.253 GB, free: 400 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.86e-05/1.086, allocations: 3.984 kB / 1.253 GB, free: 396 kB / 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.5046/1.59, allocations: 1.5 MB / 1.254 GB, free: 237.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.591, allocations: 9.344 kB / 1.254 GB, free: 237.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/1.593, allocations: 319.2 kB / 1.255 GB, free: 237.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/1.594, allocations: 0.8119 MB / 1.255 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.542e-05/1.595, allocations: 68.81 kB / 1.255 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.595, allocations: 81.28 kB / 1.256 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/1.597, allocations: 0.9157 MB / 1.256 GB, free: 236.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/1.597, allocations: 9.25 kB / 1.256 GB, free: 236.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/1.597, allocations: 37.44 kB / 1.256 GB, free: 236.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-05/1.597, allocations: 31.78 kB / 1.257 GB, free: 236.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/1.599, allocations: 0.8368 MB / 1.257 GB, free: 236.5 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.006032/1.605, allocations: 3.548 MB / 1.261 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/1.606, allocations: 0.493 MB / 1.261 GB, free: 234.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/1.606, allocations: 295 kB / 1.262 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/1.606, allocations: 102.5 kB / 1.262 GB, free: 234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.606, allocations: 44.53 kB / 1.262 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/1.606, allocations: 3.562 kB / 1.262 GB, free: 233.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004044/1.61, allocations: 1.868 MB / 1.264 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/1.61, allocations: 58.2 kB / 1.264 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.612, allocations: 0.8105 MB / 1.264 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/1.612, allocations: 38.77 kB / 1.264 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/1.612, allocations: 473.2 kB / 1.265 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.612, allocations: 174.8 kB / 1.265 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/1.612, allocations: 119.5 kB / 1.265 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/1.612, allocations: 335.9 kB / 1.265 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.613, allocations: 243.4 kB / 1.266 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/1.614, allocations: 385.5 kB / 1.266 GB, free: 231.2 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.004325/1.618, allocations: 1.548 MB / 1.268 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.618, allocations: 1.031 kB / 1.268 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001489/1.619, allocations: 0.7858 MB / 1.268 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.619, allocations: 8.266 kB / 1.268 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.62, allocations: 7.094 kB / 1.268 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/1.62, allocations: 69.19 kB / 1.268 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/1.62, allocations: 151.9 kB / 1.269 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/1.623, allocations: 3.125 MB / 1.272 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.624, allocations: 35.45 kB / 1.272 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/1.624, allocations: 22.36 kB / 1.272 GB, free: 227.3 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.0005101/1.624, allocations: 302.9 kB / 1.272 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.624, allocations: 91.09 kB / 1.272 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/1.624, allocations: 103.9 kB / 1.272 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.625, allocations: 4.625 kB / 1.272 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.625, allocations: 1.188 kB / 1.272 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/1.626, allocations: 0.8375 MB / 1.273 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/1.629, allocations: 1.795 MB / 1.275 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.629, allocations: 3.594 kB / 1.275 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/1.629, allocations: 133.7 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/1.63, allocations: 44.27 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/1.63, allocations: 17.91 kB / 1.275 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/1.631, allocations: 1.592 MB / 1.276 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.631, allocations: 2.438 kB / 1.276 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/1.632, allocations: 1.071 MB / 1.278 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/1.633, allocations: 238.8 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/1.633, allocations: 18.19 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/1.634, allocations: 33.42 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.634, allocations: 42.12 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.394e-05/1.634, allocations: 32.08 kB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009872/1.635, allocations: 0.5584 MB / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.12e-07/1.635, allocations: 0 / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001259/1.637, allocations: 277.9 kB / 1.279 GB, free: 222.9 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.0005753/1.637, allocations: 191.5 kB / 1.279 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001711/1.639, allocations: 0.8553 MB / 1.28 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.639, allocations: 2.406 kB / 1.28 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006664/1.64, allocations: 419.5 kB / 1.28 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/1.643, allocations: 0.6128 MB / 1.281 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/1.646, allocations: 1.838 MB / 1.283 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/1.647, allocations: 1.086 MB / 1.284 GB, free: 220.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001184/1.648, allocations: 212.2 kB / 1.284 GB, free: 220 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/1.648, allocations: 65.66 kB / 1.284 GB, free: 220 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.648, allocations: 0 / 1.284 GB, free: 220 MB / 0.9981 GB Notification: Performance of Templates: time 0.03259/1.681, allocations: 20.04 MB / 1.303 GB, free: 202.4 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