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.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001161/0.001161, allocations: 195.4 kB / 16.14 MB, free: 6.719 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.382/2.382, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6444, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2277/0.8721, allocations: 218.9 MB / 1.163 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.008821/0.881, allocations: 5.799 MB / 1.168 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.8821, allocations: 35.75 kB / 1.168 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.8835, allocations: 0.5013 MB / 1.169 GB, free: 136 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004126/0.8876, allocations: 1.739 MB / 1.171 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.8905, allocations: 1.076 MB / 1.172 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.8954, allocations: 4.087 MB / 1.176 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.8968, allocations: 0.8771 MB / 1.176 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.8985, allocations: 0.914 MB / 1.177 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.9008, allocations: 0.9699 MB / 1.178 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.901, allocations: 56 kB / 1.178 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003142/0.9041, allocations: 1.625 MB / 1.18 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.9046, allocations: 406.8 kB / 1.18 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009657/0.9056, allocations: 0.6025 MB / 1.181 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.9092, allocations: 2.158 MB / 1.183 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.9092, allocations: 4 kB / 1.183 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9092, allocations: 0 / 1.183 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.777e-05/0.9093, allocations: 0 / 1.183 GB, free: 1.582 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.002977/0.9122, allocations: 1.515 MB / 1.184 GB, free: 12 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.578e-05/0.9123, allocations: 8.031 kB / 1.184 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.9144, allocations: 318.5 kB / 1.185 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.9157, allocations: 0.8123 MB / 1.186 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.9158, allocations: 66 kB / 1.186 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.916, allocations: 84 kB / 1.186 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.9177, allocations: 0.9266 MB / 1.187 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.9177, allocations: 4 kB / 1.187 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.9179, allocations: 36 kB / 1.187 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.9179, allocations: 33.94 kB / 1.187 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.9194, allocations: 0.8354 MB / 1.188 GB, free: 12.85 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.005518/0.9249, allocations: 3.536 MB / 1.191 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.9258, allocations: 493.4 kB / 1.191 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.9263, allocations: 298 kB / 1.192 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.9265, allocations: 101.5 kB / 1.192 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.9265, allocations: 46.94 kB / 1.192 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.574e-06/0.9265, allocations: 0 / 1.192 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.004064/0.9306, allocations: 1.876 MB / 1.194 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.9307, allocations: 59.84 kB / 1.194 GB, free: 6.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/0.9317, allocations: 0.8019 MB / 1.195 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.9317, allocations: 41.64 kB / 1.195 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.9321, allocations: 479.2 kB / 1.195 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.9322, allocations: 177.5 kB / 1.195 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.9324, allocations: 114.2 kB / 1.195 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.9326, allocations: 330 kB / 1.196 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.933, allocations: 253.2 kB / 1.196 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.9336, allocations: 376.7 kB / 1.196 GB, free: 3.473 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.00376/0.9374, allocations: 1.535 MB / 1.198 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.9374, allocations: 4 kB / 1.198 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001379/0.9388, allocations: 0.7922 MB / 1.198 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.9388, allocations: 8 kB / 1.199 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9388, allocations: 4 kB / 1.199 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/0.939, allocations: 66.08 kB / 1.199 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.9397, allocations: 151.8 kB / 1.199 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.9421, allocations: 2.885 MB / 1.202 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.943, allocations: 62.67 kB / 1.202 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.9431, allocations: 24 kB / 1.202 GB, free: 13.61 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.000532/0.9436, allocations: 307.5 kB / 1.202 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.9438, allocations: 94.88 kB / 1.202 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.944, allocations: 100.7 kB / 1.202 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.944, allocations: 15.88 kB / 1.202 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9441, allocations: 0 / 1.202 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.9453, allocations: 0.831 MB / 1.203 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.9482, allocations: 1.786 MB / 1.205 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.9482, allocations: 4 kB / 1.205 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/0.9488, allocations: 132.3 kB / 1.205 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.844e-05/0.9489, allocations: 40.83 kB / 1.205 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.949, allocations: 19.94 kB / 1.205 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.9502, allocations: 1.48 MB / 1.206 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9502, allocations: 4 kB / 1.206 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.9518, allocations: 1.068 MB / 1.207 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.9522, allocations: 243.8 kB / 1.208 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.9523, allocations: 12 kB / 1.208 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/0.9531, allocations: 61.28 kB / 1.208 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.9532, allocations: 47.69 kB / 1.208 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.9533, allocations: 31.98 kB / 1.208 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007257/0.954, allocations: 0.5654 MB / 1.208 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.954, allocations: 0 / 1.208 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008593/0.9549, allocations: 276 kB / 1.209 GB, free: 6.105 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.0004217/0.9553, allocations: 206.2 kB / 1.209 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.9566, allocations: 0.7852 MB / 1.21 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9566, allocations: 8.062 kB / 1.21 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.9572, allocations: 406.8 kB / 1.21 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.9598, allocations: 0.5793 MB / 1.21 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.9628, allocations: 2.18 MB / 1.213 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.9635, allocations: 1.091 MB / 1.214 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008286/0.9643, allocations: 215.7 kB / 1.214 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.9645, allocations: 67.44 kB / 1.214 GB, free: 460 kB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.9645, allocations: 0 / 1.214 GB, free: 460 kB / 0.9669 GB Notification: Performance of Templates: time 0.03232/0.9968, allocations: 19.08 MB / 1.233 GB, free: 13.64 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