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.001651/0.001651, allocations: 103.7 kB / 16.27 MB, free: 6.355 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.00177/0.00177, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.204/2.204, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.12 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.7627/1.077, allocations: 221.1 MB / 1.166 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01183/1.089, allocations: 5.729 MB / 1.172 GB, free: 112 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/1.091, allocations: 41.97 kB / 1.172 GB, free: 96 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/1.094, allocations: 0.5745 MB / 1.172 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006868/1.101, allocations: 1.85 MB / 1.174 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004288/1.105, allocations: 1.183 MB / 1.175 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005067/1.11, allocations: 2.943 MB / 1.178 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/1.112, allocations: 1.021 MB / 1.179 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/1.114, allocations: 1.065 MB / 1.18 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/1.116, allocations: 0.9312 MB / 1.181 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/1.116, allocations: 110.2 kB / 1.181 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003425/1.12, allocations: 1.431 MB / 1.183 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/1.12, allocations: 466.2 kB / 1.183 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009409/1.121, allocations: 0.6516 MB / 1.184 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/1.125, allocations: 2.114 MB / 1.186 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.125, allocations: 4 kB / 1.186 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.025e-06/1.125, allocations: 0 / 1.186 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.656e-05/1.125, allocations: 0 / 1.186 GB, free: 10.59 MB / 0.8731 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.002574/1.128, allocations: 1.511 MB / 1.187 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.128, allocations: 10.91 kB / 1.187 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/1.13, allocations: 320.2 kB / 1.188 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/1.131, allocations: 0.8082 MB / 1.188 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/1.131, allocations: 64.22 kB / 1.188 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.131, allocations: 93.48 kB / 1.189 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/1.133, allocations: 0.9217 MB / 1.189 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.133, allocations: 0 / 1.189 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/1.133, allocations: 38.91 kB / 1.189 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/1.133, allocations: 30.31 kB / 1.189 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.134, allocations: 0.8381 MB / 1.19 GB, free: 7.926 MB / 0.8731 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.005196/1.139, allocations: 3.552 MB / 1.194 GB, free: 5.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/1.14, allocations: 497.2 kB / 1.194 GB, free: 4.914 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/1.14, allocations: 299.2 kB / 1.195 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/1.141, allocations: 108.6 kB / 1.195 GB, free: 4.664 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.141, allocations: 43.34 kB / 1.195 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.016e-06/1.141, allocations: 0 / 1.195 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.003508/1.144, allocations: 1.875 MB / 1.197 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.144, allocations: 61.38 kB / 1.197 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009024/1.145, allocations: 0.8024 MB / 1.197 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/1.145, allocations: 38.98 kB / 1.197 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/1.146, allocations: 479.1 kB / 1.198 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.146, allocations: 175.6 kB / 1.198 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/1.146, allocations: 116.3 kB / 1.198 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.146, allocations: 329.1 kB / 1.198 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004019/1.146, allocations: 241.1 kB / 1.199 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/1.147, allocations: 389.5 kB / 1.199 GB, free: 1.453 MB / 0.8731 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.003418/1.15, allocations: 1.537 MB / 1.201 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.15, allocations: 2.281 kB / 1.201 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001314/1.152, allocations: 0.797 MB / 1.201 GB, free: 144 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.152, allocations: 8.094 kB / 1.201 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.152, allocations: 2.75 kB / 1.201 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/1.152, allocations: 69.61 kB / 1.201 GB, free: 100 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/1.153, allocations: 146.5 kB / 1.202 GB, free: 68 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/1.155, allocations: 3.123 MB / 1.205 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/1.156, allocations: 36.94 kB / 1.205 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/1.156, allocations: 29.77 kB / 1.205 GB, free: 12.96 MB / 0.8887 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.0005138/1.157, allocations: 309.4 kB / 1.205 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/1.157, allocations: 90.44 kB / 1.205 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/1.157, allocations: 98.25 kB / 1.205 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.157, allocations: 6.844 kB / 1.205 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.157, allocations: 0 / 1.205 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000974/1.158, allocations: 0.8414 MB / 1.206 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002713/1.161, allocations: 1.789 MB / 1.208 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/1.161, allocations: 8.781 kB / 1.208 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/1.161, allocations: 128.2 kB / 1.208 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.323e-05/1.161, allocations: 34.16 kB / 1.208 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/1.161, allocations: 15.81 kB / 1.208 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/1.163, allocations: 1.595 MB / 1.209 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.163, allocations: 13.97 kB / 1.209 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.164, allocations: 1.072 MB / 1.211 GB, free: 8.352 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/1.164, allocations: 235.2 kB / 1.211 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.165, allocations: 15.66 kB / 1.211 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006587/1.165, allocations: 36.75 kB / 1.211 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.165, allocations: 41.73 kB / 1.211 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.738e-05/1.165, allocations: 28.14 kB / 1.211 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00067/1.166, allocations: 0.5624 MB / 1.211 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.166, allocations: 7.281 kB / 1.211 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008662/1.167, allocations: 271 kB / 1.212 GB, free: 7.754 MB / 0.8887 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.0004568/1.167, allocations: 183.4 kB / 1.212 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001378/1.169, allocations: 0.8802 MB / 1.213 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.169, allocations: 3.781 kB / 1.213 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/1.169, allocations: 407.9 kB / 1.213 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/1.172, allocations: 0.6059 MB / 1.214 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/1.175, allocations: 1.875 MB / 1.216 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/1.176, allocations: 1.088 MB / 1.217 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/1.176, allocations: 70 kB / 1.217 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of SimCode: time 6.52e-07/1.176, allocations: 0 / 1.217 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of Templates: time 0.02862/1.204, allocations: 21.93 MB / 1.238 GB, free: 3.496 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]