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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001391/0.001391, allocations: 117.2 kB / 16.37 MB, free: 6.012 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.001482/0.001481, allocations: 191.6 kB / 17.31 MB, free: 5.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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001395, allocations: 70.62 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9415/1.284, allocations: 221.1 MB / 1.167 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01124/1.295, allocations: 5.73 MB / 1.173 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/1.297, allocations: 42.19 kB / 1.173 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/1.299, allocations: 0.5731 MB / 1.173 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006237/1.306, allocations: 1.843 MB / 1.175 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003728/1.309, allocations: 1.19 MB / 1.176 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005374/1.315, allocations: 2.948 MB / 1.179 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/1.317, allocations: 1.026 MB / 1.18 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/1.32, allocations: 1.056 MB / 1.181 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/1.323, allocations: 0.9463 MB / 1.182 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004334/1.323, allocations: 107.7 kB / 1.182 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004146/1.327, allocations: 1.434 MB / 1.184 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000987/1.328, allocations: 464.6 kB / 1.184 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002173/1.33, allocations: 0.6511 MB / 1.185 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005936/1.336, allocations: 2.131 MB / 1.187 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/1.336, allocations: 0 / 1.187 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.394e-06/1.336, allocations: 0 / 1.187 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.59e-05/1.337, allocations: 2.562 kB / 1.187 GB, free: 10.27 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.005029/1.342, allocations: 1.498 MB / 1.188 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/1.342, allocations: 12.92 kB / 1.188 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/1.344, allocations: 313.4 kB / 1.188 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/1.347, allocations: 0.8687 MB / 1.189 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/1.347, allocations: 65.56 kB / 1.189 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/1.348, allocations: 82.88 kB / 1.189 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/1.35, allocations: 0.9148 MB / 1.19 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/1.35, allocations: 0 / 1.19 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/1.35, allocations: 37.97 kB / 1.19 GB, free: 7.867 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.795e-05/1.35, allocations: 34.7 kB / 1.19 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/1.352, allocations: 0.8387 MB / 1.191 GB, free: 7.453 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.006679/1.359, allocations: 3.508 MB / 1.195 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/1.36, allocations: 495.6 kB / 1.195 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/1.36, allocations: 297.7 kB / 1.195 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/1.36, allocations: 108.6 kB / 1.196 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.36, allocations: 43.88 kB / 1.196 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/1.36, allocations: 0 / 1.196 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.003871/1.364, allocations: 1.878 MB / 1.197 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/1.364, allocations: 56.72 kB / 1.197 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/1.365, allocations: 0.8102 MB / 1.198 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/1.365, allocations: 38.33 kB / 1.198 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/1.366, allocations: 481.4 kB / 1.199 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/1.366, allocations: 169.5 kB / 1.199 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/1.366, allocations: 117.9 kB / 1.199 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.366, allocations: 325.4 kB / 1.199 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/1.367, allocations: 250 kB / 1.2 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/1.367, allocations: 383.3 kB / 1.2 GB, free: 1.008 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.003568/1.371, allocations: 1.542 MB / 1.201 GB, free: 120 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/1.371, allocations: 0 / 1.201 GB, free: 120 kB / 0.8731 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001421/1.372, allocations: 0.7982 MB / 1.202 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.372, allocations: 6.875 kB / 1.202 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.372, allocations: 3.781 kB / 1.202 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/1.373, allocations: 69.75 kB / 1.202 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006826/1.373, allocations: 150.1 kB / 1.202 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/1.376, allocations: 3.122 MB / 1.205 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009442/1.377, allocations: 27.73 kB / 1.206 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/1.377, allocations: 26.11 kB / 1.206 GB, free: 12.53 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.000553/1.377, allocations: 314.5 kB / 1.206 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/1.378, allocations: 92.31 kB / 1.206 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/1.378, allocations: 98.73 kB / 1.206 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/1.378, allocations: 6.797 kB / 1.206 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.378, allocations: 2.438 kB / 1.206 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.379, allocations: 0.8329 MB / 1.207 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/1.382, allocations: 1.797 MB / 1.209 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.382, allocations: 1.906 kB / 1.209 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005877/1.383, allocations: 128.2 kB / 1.209 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.855e-05/1.383, allocations: 39.73 kB / 1.209 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/1.383, allocations: 16.66 kB / 1.209 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.384, allocations: 1.594 MB / 1.21 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.384, allocations: 5.844 kB / 1.21 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/1.386, allocations: 1.068 MB / 1.211 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/1.386, allocations: 233.1 kB / 1.212 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/1.387, allocations: 16.14 kB / 1.212 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/1.387, allocations: 29.27 kB / 1.212 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/1.387, allocations: 45.58 kB / 1.212 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/1.387, allocations: 27.55 kB / 1.212 GB, free: 7.676 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007734/1.388, allocations: 0.5659 MB / 1.212 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.388, allocations: 0 / 1.212 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009888/1.389, allocations: 277.8 kB / 1.213 GB, free: 7.332 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.0004705/1.39, allocations: 203.9 kB / 1.213 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.391, allocations: 0.8212 MB / 1.214 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.391, allocations: 0 / 1.214 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005617/1.392, allocations: 402.6 kB / 1.214 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/1.394, allocations: 0.5963 MB / 1.214 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/1.397, allocations: 1.806 MB / 1.216 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008165/1.398, allocations: 1.086 MB / 1.217 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008179/1.399, allocations: 213.1 kB / 1.218 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/1.399, allocations: 73.5 kB / 1.218 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/1.399, allocations: 0 / 1.218 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of Templates: time 0.0378/1.437, allocations: 20.03 MB / 1.237 GB, free: 5.289 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 -s cvode -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) Reference file matches