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.001264/0.001264, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001264/0.001263, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.569/2.569, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6944, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.3024/0.9968, allocations: 218.3 MB / 1.23 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01473/1.012, allocations: 5.699 MB / 1.236 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/1.014, allocations: 39.75 kB / 1.236 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/1.016, allocations: 0.517 MB / 1.236 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007642/1.024, allocations: 1.72 MB / 1.238 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004717/1.029, allocations: 1.103 MB / 1.239 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005856/1.035, allocations: 2.941 MB / 1.242 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/1.037, allocations: 1.011 MB / 1.243 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/1.04, allocations: 1.07 MB / 1.244 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/1.043, allocations: 1.008 MB / 1.245 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/1.044, allocations: 108 kB / 1.245 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004594/1.048, allocations: 1.5 MB / 1.246 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008491/1.049, allocations: 462.8 kB / 1.247 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/1.05, allocations: 0.6534 MB / 1.247 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004759/1.055, allocations: 2.209 MB / 1.25 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.055, allocations: 3.938 kB / 1.25 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.235e-06/1.055, allocations: 4 kB / 1.25 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.99e-05/1.055, allocations: 4 kB / 1.25 GB, free: 3.535 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.003989/1.059, allocations: 1.5 MB / 1.251 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/1.059, allocations: 8.031 kB / 1.251 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/1.063, allocations: 326.2 kB / 1.251 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/1.065, allocations: 0.8085 MB / 1.252 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/1.065, allocations: 66 kB / 1.252 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/1.065, allocations: 84 kB / 1.252 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6442/1.709, allocations: 0.9177 MB / 1.253 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/1.71, allocations: 0 / 1.253 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.71, allocations: 39.69 kB / 1.253 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.695e-05/1.71, allocations: 36.83 kB / 1.253 GB, free: 237.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/1.711, allocations: 0.837 MB / 1.254 GB, free: 237 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.005601/1.717, allocations: 3.529 MB / 1.258 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/1.718, allocations: 495.2 kB / 1.258 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/1.718, allocations: 302.2 kB / 1.258 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/1.719, allocations: 106.4 kB / 1.258 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/1.719, allocations: 39.77 kB / 1.258 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.454e-06/1.719, allocations: 0 / 1.258 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.003853/1.723, allocations: 1.867 MB / 1.26 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/1.723, allocations: 62.03 kB / 1.26 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/1.724, allocations: 0.8102 MB / 1.261 GB, free: 233.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/1.724, allocations: 39.47 kB / 1.261 GB, free: 233 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/1.724, allocations: 474.1 kB / 1.262 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/1.724, allocations: 174.8 kB / 1.262 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/1.724, allocations: 119.4 kB / 1.262 GB, free: 232.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.365e-05/1.724, allocations: 335.5 kB / 1.262 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/1.725, allocations: 243.3 kB / 1.262 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/1.726, allocations: 385.2 kB / 1.263 GB, free: 231.8 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.003981/1.73, allocations: 1.537 MB / 1.264 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.73, allocations: 0.9375 kB / 1.264 GB, free: 231.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001777/1.731, allocations: 0.793 MB / 1.265 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.731, allocations: 8 kB / 1.265 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.731, allocations: 5.484 kB / 1.265 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/1.732, allocations: 72.16 kB / 1.265 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/1.732, allocations: 148.6 kB / 1.265 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/1.735, allocations: 3.132 MB / 1.268 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.736, allocations: 59.12 kB / 1.268 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/1.736, allocations: 30.78 kB / 1.268 GB, free: 227.9 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.0006499/1.737, allocations: 305 kB / 1.269 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.737, allocations: 91.64 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/1.737, allocations: 99.77 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.737, allocations: 5.312 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/1.737, allocations: 4.5 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001074/1.738, allocations: 0.8386 MB / 1.27 GB, free: 227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/1.741, allocations: 1.792 MB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.741, allocations: 3.156 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/1.742, allocations: 131.5 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/1.742, allocations: 40.62 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/1.742, allocations: 17.02 kB / 1.272 GB, free: 226 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/1.743, allocations: 1.6 MB / 1.273 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.743, allocations: 7.672 kB / 1.273 GB, free: 224.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/1.745, allocations: 1.064 MB / 1.274 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/1.745, allocations: 234.9 kB / 1.274 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/1.745, allocations: 15.16 kB / 1.274 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/1.746, allocations: 63.88 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/1.746, allocations: 50.69 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.915e-05/1.746, allocations: 28.11 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007545/1.747, allocations: 0.564 MB / 1.275 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.747, allocations: 5.062 kB / 1.275 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001001/1.748, allocations: 278.5 kB / 1.275 GB, free: 223.5 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.0004224/1.749, allocations: 192.2 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001485/1.75, allocations: 0.865 MB / 1.276 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.75, allocations: 2.312 kB / 1.276 GB, free: 223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005546/1.751, allocations: 406.5 kB / 1.277 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.753, allocations: 0.608 MB / 1.277 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/1.756, allocations: 2.184 MB / 1.28 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/1.757, allocations: 1.087 MB / 1.281 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009832/1.758, allocations: 216.8 kB / 1.281 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/1.758, allocations: 71.8 kB / 1.281 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.5e-07/1.758, allocations: 0 / 1.281 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03055/1.789, allocations: 19.85 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=480 -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