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.01057/0.01057, allocations: 101.5 kB / 15.88 MB, free: 6.328 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.001604/0.001604, allocations: 194 kB / 16.79 MB, free: 6.254 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.754/1.754, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.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.644/2.644, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.89 kB / 0.8692 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7227, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2313/0.9541, allocations: 218.9 MB / 1.231 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009876/0.964, allocations: 5.8 MB / 1.237 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.9659, allocations: 35.81 kB / 1.237 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.968, allocations: 0.4974 MB / 1.237 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00505/0.973, allocations: 1.743 MB / 1.239 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.9763, allocations: 1.071 MB / 1.24 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00478/0.9811, allocations: 4.104 MB / 1.244 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.9828, allocations: 0.8732 MB / 1.245 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.9852, allocations: 0.9101 MB / 1.246 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.9882, allocations: 0.972 MB / 1.247 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003703/0.9886, allocations: 56 kB / 1.247 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.9923, allocations: 1.633 MB / 1.248 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.9931, allocations: 418.7 kB / 1.249 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.9945, allocations: 0.5909 MB / 1.249 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002516/0.997, allocations: 1.594 MB / 1.251 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.997, allocations: 0 / 1.251 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.997, allocations: 0 / 1.251 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.087e-05/0.9971, allocations: 0 / 1.251 GB, free: 2.816 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.003585/1.001, allocations: 1.511 MB / 1.252 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.001, allocations: 12.03 kB / 1.252 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/1.003, allocations: 314.2 kB / 1.253 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.005, allocations: 0.8162 MB / 1.253 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/1.005, allocations: 62 kB / 1.253 GB, free: 12 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.6164/1.621, allocations: 83.3 kB / 1.254 GB, free: 237.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/1.624, allocations: 0.9176 MB / 1.254 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/1.624, allocations: 3.562 kB / 1.254 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/1.624, allocations: 38.03 kB / 1.254 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.599e-05/1.624, allocations: 35.72 kB / 1.254 GB, free: 237.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/1.625, allocations: 0.8351 MB / 1.255 GB, free: 237.1 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.006267/1.632, allocations: 3.527 MB / 1.259 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008734/1.633, allocations: 495 kB / 1.259 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/1.633, allocations: 297.4 kB / 1.26 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/1.633, allocations: 105.5 kB / 1.26 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/1.633, allocations: 43.97 kB / 1.26 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/1.633, allocations: 3.938 kB / 1.26 GB, free: 234.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004387/1.638, allocations: 1.868 MB / 1.261 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/1.638, allocations: 57.8 kB / 1.262 GB, free: 233.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/1.639, allocations: 0.8129 MB / 1.262 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/1.639, allocations: 37.64 kB / 1.262 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/1.64, allocations: 481.6 kB / 1.263 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/1.64, allocations: 171.5 kB / 1.263 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/1.64, allocations: 116.7 kB / 1.263 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/1.64, allocations: 335.8 kB / 1.263 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/1.641, allocations: 243.4 kB / 1.264 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/1.641, allocations: 387 kB / 1.264 GB, free: 232 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.004274/1.646, allocations: 1.538 MB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/1.646, allocations: 1.25 kB / 1.266 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001861/1.648, allocations: 0.7915 MB / 1.266 GB, free: 231 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.648, allocations: 9.75 kB / 1.266 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/1.648, allocations: 3.344 kB / 1.266 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/1.648, allocations: 65.5 kB / 1.266 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/1.649, allocations: 153.1 kB / 1.267 GB, free: 231 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.651, allocations: 2.893 MB / 1.269 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.652, allocations: 66.28 kB / 1.269 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/1.652, allocations: 22.27 kB / 1.269 GB, free: 228.2 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.0005587/1.653, allocations: 308.6 kB / 1.27 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/1.653, allocations: 90.42 kB / 1.27 GB, free: 228 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/1.653, allocations: 99.98 kB / 1.27 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.653, allocations: 5.625 kB / 1.27 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.653, allocations: 0 / 1.27 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/1.654, allocations: 0.8433 MB / 1.271 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/1.657, allocations: 1.787 MB / 1.272 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.657, allocations: 4.969 kB / 1.272 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/1.658, allocations: 133.9 kB / 1.273 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/1.658, allocations: 43.42 kB / 1.273 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/1.658, allocations: 11.58 kB / 1.273 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009888/1.659, allocations: 1.479 MB / 1.274 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/1.659, allocations: 4.031 kB / 1.274 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.661, allocations: 1.073 MB / 1.275 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/1.661, allocations: 234.1 kB / 1.275 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/1.661, allocations: 15.67 kB / 1.275 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/1.662, allocations: 62.03 kB / 1.275 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.662, allocations: 45.28 kB / 1.276 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/1.662, allocations: 32.36 kB / 1.276 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008212/1.663, allocations: 0.5581 MB / 1.276 GB, free: 224 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.663, allocations: 3.938 kB / 1.276 GB, free: 224 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001297/1.664, allocations: 276.5 kB / 1.276 GB, free: 224 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.0004803/1.665, allocations: 203.8 kB / 1.277 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.666, allocations: 0.7924 MB / 1.277 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.666, allocations: 1.188 kB / 1.277 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005457/1.667, allocations: 408.5 kB / 1.278 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/1.669, allocations: 0.5796 MB / 1.278 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/1.673, allocations: 2.246 MB / 1.28 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/1.673, allocations: 1.082 MB / 1.282 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/1.674, allocations: 71.09 kB / 1.282 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.674, allocations: 5.906 kB / 1.282 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02544/1.699, allocations: 21.92 MB / 1.303 GB, free: 202.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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]