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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001085/0.001085, allocations: 107 kB / 16.36 MB, free: 6.336 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.001137/0.001137, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.48 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3055, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8284/1.134, allocations: 221.1 MB / 1.235 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009778/1.144, allocations: 5.731 MB / 1.24 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/1.146, allocations: 39.75 kB / 1.24 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00187/1.148, allocations: 0.5825 MB / 1.241 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005955/1.154, allocations: 1.844 MB / 1.243 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003677/1.157, allocations: 1.195 MB / 1.244 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004576/1.162, allocations: 2.95 MB / 1.247 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.163, allocations: 1.014 MB / 1.248 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/1.165, allocations: 1.07 MB / 1.249 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.168, allocations: 0.94 MB / 1.25 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/1.168, allocations: 108 kB / 1.25 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003205/1.171, allocations: 1.423 MB / 1.251 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/1.172, allocations: 474.7 kB / 1.252 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008049/1.173, allocations: 0.6495 MB / 1.252 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003074/1.176, allocations: 2.134 MB / 1.254 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.176, allocations: 4 kB / 1.254 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.713e-06/1.176, allocations: 0 / 1.254 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.176, allocations: 0 / 1.254 GB, free: 7.52 MB / 0.9512 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.002498/1.178, allocations: 1.496 MB / 1.256 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.178, allocations: 8.922 kB / 1.256 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.18, allocations: 326.2 kB / 1.256 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/1.182, allocations: 0.863 MB / 1.257 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/1.182, allocations: 58 kB / 1.257 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.182, allocations: 95.98 kB / 1.257 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/1.184, allocations: 0.9131 MB / 1.258 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.184, allocations: 0 / 1.258 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.613e-05/1.184, allocations: 40 kB / 1.258 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/1.184, allocations: 37.92 kB / 1.258 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/1.185, allocations: 0.8314 MB / 1.259 GB, free: 2.758 MB / 0.9512 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.005801/1.191, allocations: 3.505 MB / 1.262 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007626/1.192, allocations: 499.8 kB / 1.263 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/1.192, allocations: 299 kB / 1.263 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/1.193, allocations: 97.53 kB / 1.263 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.193, allocations: 50.91 kB / 1.263 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 3.747e-06/1.193, allocations: 3.984 kB / 1.263 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=49): time 0.003588/1.196, allocations: 1.876 MB / 1.265 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/1.196, allocations: 55.84 kB / 1.265 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009411/1.197, allocations: 0.8097 MB / 1.266 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/1.197, allocations: 45.62 kB / 1.266 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.198, allocations: 475.3 kB / 1.266 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.198, allocations: 173.5 kB / 1.267 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/1.198, allocations: 114.2 kB / 1.267 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.198, allocations: 330 kB / 1.267 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/1.199, allocations: 245.2 kB / 1.267 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005181/1.199, allocations: 388.6 kB / 1.268 GB, free: 9.406 MB / 0.9669 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.003558/1.203, allocations: 1.543 MB / 1.269 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.203, allocations: 0 / 1.269 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001336/1.204, allocations: 0.7961 MB / 1.27 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/1.204, allocations: 8 kB / 1.27 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.204, allocations: 0 / 1.27 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/1.204, allocations: 65.69 kB / 1.27 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/1.205, allocations: 156.1 kB / 1.27 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/1.208, allocations: 3.121 MB / 1.273 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/1.208, allocations: 37.86 kB / 1.273 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/1.209, allocations: 23.98 kB / 1.273 GB, free: 3.305 MB / 0.9669 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.0004962/1.209, allocations: 308.1 kB / 1.274 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.209, allocations: 90.97 kB / 1.274 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/1.209, allocations: 100.7 kB / 1.274 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.209, allocations: 4 kB / 1.274 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.209, allocations: 4.062 kB / 1.274 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/1.21, allocations: 0.8387 MB / 1.275 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/1.213, allocations: 1.796 MB / 1.276 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/1.213, allocations: 4 kB / 1.276 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/1.214, allocations: 131.8 kB / 1.276 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/1.214, allocations: 36.84 kB / 1.276 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/1.214, allocations: 16 kB / 1.276 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/1.215, allocations: 1.59 MB / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.215, allocations: 7.938 kB / 1.278 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/1.217, allocations: 1.073 MB / 1.279 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/1.217, allocations: 232 kB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/1.218, allocations: 27.88 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/1.218, allocations: 35.83 kB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.218, allocations: 39.95 kB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.689e-05/1.218, allocations: 31.92 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006965/1.219, allocations: 0.5576 MB / 1.28 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/1.219, allocations: 4 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008706/1.22, allocations: 276 kB / 1.28 GB, free: 11.71 MB / 0.9825 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.0004053/1.22, allocations: 181.9 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00124/1.222, allocations: 0.8039 MB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.222, allocations: 4.812 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005669/1.222, allocations: 410.3 kB / 1.282 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/1.225, allocations: 0.608 MB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/1.228, allocations: 1.796 MB / 1.284 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007696/1.229, allocations: 1.088 MB / 1.285 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008334/1.23, allocations: 215.7 kB / 1.285 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/1.23, allocations: 63.44 kB / 1.285 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of SimCode: time 1.283e-06/1.23, allocations: 0 / 1.285 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.0347/1.265, allocations: 20.04 MB / 1.305 GB, free: 2.688 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches