Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001057/0.001057, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009439/0.009439, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.876/2.876, allocations: 462.6 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 11.72 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3533, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9563/1.31, allocations: 216 MB / 1.27 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009296/1.319, allocations: 5.738 MB / 1.275 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/1.321, allocations: 35.06 kB / 1.275 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/1.322, allocations: 0.5017 MB / 1.276 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004765/1.327, allocations: 1.741 MB / 1.277 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/1.33, allocations: 1.079 MB / 1.278 GB, free: 17.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007196/1.337, allocations: 4.095 MB / 1.282 GB, free: 17.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/1.339, allocations: 0.8533 MB / 1.283 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003473/1.343, allocations: 0.8841 MB / 1.284 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003778/1.347, allocations: 0.942 MB / 1.285 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002538/1.347, allocations: 44.88 kB / 1.285 GB, free: 17.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004716/1.352, allocations: 1.623 MB / 1.287 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009248/1.353, allocations: 392.2 kB / 1.287 GB, free: 17.15 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/1.354, allocations: 0.5913 MB / 1.288 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/1.359, allocations: 2.129 MB / 1.29 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.359, allocations: 0 / 1.29 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/1.359, allocations: 1.062 kB / 1.29 GB, free: 17.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.965e-05/1.359, allocations: 0 / 1.29 GB, free: 17.01 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.002929/1.362, allocations: 1.278 MB / 1.291 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.362, allocations: 9.969 kB / 1.291 GB, free: 16.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002213/1.364, allocations: 320.4 kB / 1.291 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.365, allocations: 0.8109 MB / 1.292 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/1.365, allocations: 68.56 kB / 1.292 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/1.366, allocations: 87.25 kB / 1.292 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.367, allocations: 0.9226 MB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.367, allocations: 4.766 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/1.367, allocations: 39.69 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/1.368, allocations: 31.09 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/1.369, allocations: 0.8498 MB / 1.294 GB, free: 15.79 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.005337/1.374, allocations: 3.54 MB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/1.375, allocations: 0.4951 MB / 1.298 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/1.376, allocations: 306.4 kB / 1.298 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/1.376, allocations: 104.2 kB / 1.298 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/1.376, allocations: 39.16 kB / 1.298 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.665e-06/1.376, allocations: 0 / 1.298 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.004246/1.38, allocations: 1.904 MB / 1.3 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/1.38, allocations: 59.48 kB / 1.3 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.381, allocations: 0.8061 MB / 1.301 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/1.381, allocations: 40.55 kB / 1.301 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.382, allocations: 471.5 kB / 1.302 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/1.382, allocations: 180.4 kB / 1.302 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.382, allocations: 55 kB / 1.302 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/1.382, allocations: 326.6 kB / 1.302 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/1.383, allocations: 255.8 kB / 1.302 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/1.383, allocations: 387.9 kB / 1.303 GB, free: 12.59 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.004106/1.387, allocations: 1.565 MB / 1.304 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/1.387, allocations: 4 kB / 1.304 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001644/1.389, allocations: 0.8074 MB / 1.305 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.389, allocations: 10.34 kB / 1.305 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.389, allocations: 3.109 kB / 1.305 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/1.389, allocations: 69.72 kB / 1.305 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/1.39, allocations: 165.2 kB / 1.305 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/1.392, allocations: 2.884 MB / 1.308 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.393, allocations: 67.56 kB / 1.308 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/1.393, allocations: 20.3 kB / 1.308 GB, free: 9.676 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 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.0005617/1.393, allocations: 312 kB / 1.308 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/1.394, allocations: 95.03 kB / 1.309 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/1.394, allocations: 98.14 kB / 1.309 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.394, allocations: 6.875 kB / 1.309 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.394, allocations: 3.938 kB / 1.309 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009471/1.395, allocations: 0.8516 MB / 1.309 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/1.398, allocations: 1.804 MB / 1.311 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.398, allocations: 4.656 kB / 1.311 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/1.399, allocations: 141.8 kB / 1.311 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/1.399, allocations: 35.5 kB / 1.311 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/1.399, allocations: 17.16 kB / 1.311 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009494/1.4, allocations: 1.473 MB / 1.313 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.4, allocations: 4.125 kB / 1.313 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/1.401, allocations: 1.089 MB / 1.314 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/1.402, allocations: 240.3 kB / 1.314 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/1.402, allocations: 14.36 kB / 1.314 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.403, allocations: 73.27 kB / 1.314 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.403, allocations: 54.84 kB / 1.314 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/1.403, allocations: 29.14 kB / 1.314 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000866/1.404, allocations: 0.5624 MB / 1.315 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.404, allocations: 4 kB / 1.315 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001508/1.406, allocations: 273.9 kB / 1.315 GB, free: 6.73 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.0005596/1.406, allocations: 183 kB / 1.315 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001493/1.408, allocations: 0.8131 MB / 1.316 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.408, allocations: 0 / 1.316 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006051/1.409, allocations: 414.2 kB / 1.317 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.412, allocations: 0.5732 MB / 1.317 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/1.416, allocations: 2.25 MB / 1.319 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006944/1.416, allocations: 1.086 MB / 1.32 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001149/1.418, allocations: 220 kB / 1.321 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.418, allocations: 68.28 kB / 1.321 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.418, allocations: 0 / 1.321 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of Templates: time 0.03229/1.45, allocations: 18.98 MB / 1.339 GB, free: 14.66 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches