Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001172/0.001172, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.01043/0.01043, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.554/1.554, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7515/0.7519, allocations: 142.4 MB / 0.955 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2477/0.9997, allocations: 216 MB / 1.166 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009977/1.01, allocations: 5.744 MB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/1.011, allocations: 31.75 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/1.013, allocations: 0.5052 MB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/1.018, allocations: 1.731 MB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/1.021, allocations: 1.09 MB / 1.175 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004819/1.026, allocations: 4.087 MB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/1.027, allocations: 0.847 MB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/1.029, allocations: 0.8828 MB / 1.18 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/1.031, allocations: 0.9274 MB / 1.181 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/1.032, allocations: 40 kB / 1.181 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/1.035, allocations: 1.617 MB / 1.183 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/1.035, allocations: 390.8 kB / 1.183 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007373/1.036, allocations: 0.5925 MB / 1.184 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/1.039, allocations: 2.13 MB / 1.186 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.039, allocations: 0 / 1.186 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.705e-06/1.039, allocations: 4 kB / 1.186 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.567e-05/1.039, allocations: 0 / 1.186 GB, free: 2.012 MB / 0.9356 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.002201/1.041, allocations: 1.274 MB / 1.187 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.041, allocations: 8.031 kB / 1.187 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/1.043, allocations: 326.2 kB / 1.188 GB, free: 364 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/1.045, allocations: 0.8123 MB / 1.188 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/1.045, allocations: 66 kB / 1.188 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.045, allocations: 88 kB / 1.189 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.047, allocations: 0.9248 MB / 1.189 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/1.047, allocations: 3.906 kB / 1.189 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.566e-05/1.047, allocations: 36 kB / 1.189 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/1.047, allocations: 37.94 kB / 1.19 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/1.048, allocations: 0.8548 MB / 1.19 GB, free: 13.49 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.005224/1.053, allocations: 3.536 MB / 1.194 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/1.054, allocations: 0.4887 MB / 1.194 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/1.055, allocations: 308.8 kB / 1.195 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/1.055, allocations: 101.5 kB / 1.195 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.055, allocations: 50.84 kB / 1.195 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.946e-06/1.055, allocations: 7.938 kB / 1.195 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.003771/1.059, allocations: 1.903 MB / 1.197 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.059, allocations: 55.84 kB / 1.197 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.06, allocations: 0.8097 MB / 1.197 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/1.06, allocations: 37.7 kB / 1.197 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000373/1.06, allocations: 479.3 kB / 1.198 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/1.061, allocations: 169.4 kB / 1.198 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/1.061, allocations: 57.69 kB / 1.198 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.061, allocations: 330 kB / 1.198 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/1.061, allocations: 253.2 kB / 1.199 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/1.062, allocations: 384.7 kB / 1.199 GB, free: 4.113 MB / 0.9512 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.00383/1.066, allocations: 1.571 MB / 1.201 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.066, allocations: 3.938 kB / 1.201 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001403/1.067, allocations: 0.8002 MB / 1.201 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.067, allocations: 8 kB / 1.201 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.067, allocations: 0 / 1.201 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/1.067, allocations: 73.86 kB / 1.201 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/1.068, allocations: 159.8 kB / 1.202 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.07, allocations: 2.889 MB / 1.204 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/1.071, allocations: 65.5 kB / 1.205 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.077e-05/1.072, allocations: 24 kB / 1.205 GB, free: 14.18 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 sytem: 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.0004964/1.072, allocations: 307.6 kB / 1.205 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/1.072, allocations: 90.88 kB / 1.205 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/1.072, allocations: 100.7 kB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/1.072, allocations: 11.94 kB / 1.205 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.072, allocations: 4 kB / 1.205 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001068/1.073, allocations: 0.8388 MB / 1.206 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/1.076, allocations: 1.802 MB / 1.208 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.076, allocations: 4.031 kB / 1.208 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/1.077, allocations: 139.8 kB / 1.208 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.363e-05/1.077, allocations: 40.77 kB / 1.208 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/1.077, allocations: 16 kB / 1.208 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/1.078, allocations: 1.483 MB / 1.209 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.078, allocations: 0 / 1.209 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/1.08, allocations: 1.092 MB / 1.21 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/1.08, allocations: 243.8 kB / 1.211 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.08, allocations: 16 kB / 1.211 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/1.081, allocations: 60.45 kB / 1.211 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.081, allocations: 43.69 kB / 1.211 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.116e-05/1.081, allocations: 35.98 kB / 1.211 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007144/1.082, allocations: 0.5615 MB / 1.211 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.082, allocations: 0 / 1.211 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009084/1.083, allocations: 276 kB / 1.212 GB, free: 6.633 MB / 0.9669 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.0004796/1.083, allocations: 217.2 kB / 1.212 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001317/1.085, allocations: 0.7962 MB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.085, allocations: 0 / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005854/1.085, allocations: 416.5 kB / 1.213 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/1.088, allocations: 0.5733 MB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/1.092, allocations: 2.249 MB / 1.216 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/1.092, allocations: 1.091 MB / 1.217 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000858/1.093, allocations: 211.7 kB / 1.217 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.093, allocations: 67.42 kB / 1.217 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/1.093, allocations: 0 / 1.217 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of Templates: time 0.03418/1.127, allocations: 18.99 MB / 1.236 GB, free: 14.16 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches