Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001997/0.001996, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002094/0.002094, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.912/2.912, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002899/0.0029, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7471, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2443/0.9915, allocations: 188.1 MB / 1.201 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01198/1.004, allocations: 5.685 MB / 1.206 GB, free: 228 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/1.005, allocations: 39.75 kB / 1.206 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/1.007, allocations: 0.5131 MB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/1.013, allocations: 1.739 MB / 1.208 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/1.016, allocations: 1.089 MB / 1.209 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004726/1.021, allocations: 2.95 MB / 1.212 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001556/1.022, allocations: 0.9303 MB / 1.213 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/1.025, allocations: 1.058 MB / 1.214 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/1.027, allocations: 0.9665 MB / 1.215 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/1.027, allocations: 112 kB / 1.215 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/1.031, allocations: 1.5 MB / 1.217 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005654/1.031, allocations: 470.8 kB / 1.217 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009163/1.032, allocations: 0.6456 MB / 1.218 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003403/1.036, allocations: 2.216 MB / 1.22 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.036, allocations: 11.88 kB / 1.22 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/1.036, allocations: 0 / 1.22 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2e-05/1.036, allocations: 4 kB / 1.22 GB, free: 1.953 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002694/1.039, allocations: 1.504 MB / 1.221 GB, free: 408 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/1.039, allocations: 12.03 kB / 1.221 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/1.041, allocations: 318.2 kB / 1.222 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/1.042, allocations: 0.8084 MB / 1.223 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.228e-05/1.042, allocations: 73.94 kB / 1.223 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.042, allocations: 84 kB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/1.044, allocations: 0.913 MB / 1.224 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.044, allocations: 3.938 kB / 1.224 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/1.044, allocations: 43.98 kB / 1.224 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/1.044, allocations: 30 kB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.046, allocations: 0.8276 MB / 1.224 GB, free: 13.24 MB / 0.9825 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.005806/1.052, allocations: 3.513 MB / 1.228 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008609/1.052, allocations: 0.4892 MB / 1.228 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004923/1.053, allocations: 302.8 kB / 1.229 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/1.053, allocations: 105.5 kB / 1.229 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/1.053, allocations: 43 kB / 1.229 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/1.053, allocations: 0 / 1.229 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004379/1.058, allocations: 1.919 MB / 1.231 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.058, allocations: 55.84 kB / 1.231 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.059, allocations: 0.8136 MB / 1.232 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/1.059, allocations: 37.7 kB / 1.232 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/1.059, allocations: 467.4 kB / 1.232 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.059, allocations: 173.5 kB / 1.232 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.06, allocations: 118.1 kB / 1.232 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.06, allocations: 333.8 kB / 1.233 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005793/1.06, allocations: 245.2 kB / 1.233 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/1.061, allocations: 357.2 kB / 1.233 GB, free: 3.875 MB / 0.9825 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.004145/1.065, allocations: 1.538 MB / 1.235 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.065, allocations: 0 / 1.235 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00152/1.067, allocations: 0.7845 MB / 1.235 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.067, allocations: 4 kB / 1.235 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.067, allocations: 7.984 kB / 1.235 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/1.067, allocations: 97.94 kB / 1.236 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/1.068, allocations: 139.8 kB / 1.236 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/1.071, allocations: 3.315 MB / 1.239 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.073, allocations: 63.8 kB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/1.073, allocations: 20 kB / 1.239 GB, free: 13.56 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005548/1.073, allocations: 301.6 kB / 1.239 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/1.073, allocations: 94.97 kB / 1.239 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/1.074, allocations: 100.7 kB / 1.239 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.074, allocations: 7.984 kB / 1.239 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.074, allocations: 0 / 1.239 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.075, allocations: 0.8427 MB / 1.24 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.078, allocations: 1.795 MB / 1.242 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.078, allocations: 4 kB / 1.242 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/1.079, allocations: 127.8 kB / 1.242 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/1.079, allocations: 69.22 kB / 1.242 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/1.079, allocations: 16 kB / 1.242 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/1.081, allocations: 1.785 MB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.081, allocations: 4 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.083, allocations: 1.076 MB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/1.084, allocations: 235.9 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.084, allocations: 16.06 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/1.085, allocations: 69.61 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.085, allocations: 51.75 kB / 1.245 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/1.085, allocations: 27.98 kB / 1.245 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009143/1.086, allocations: 0.5615 MB / 1.246 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.086, allocations: 0 / 1.246 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009933/1.087, allocations: 284 kB / 1.246 GB, free: 5.703 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 (45): * Single equations (assignments): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005013/1.088, allocations: 196 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00172/1.089, allocations: 0.8622 MB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.089, allocations: 0 / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006771/1.09, allocations: 419.7 kB / 1.248 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.093, allocations: 0.6003 MB / 1.248 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/1.097, allocations: 2.177 MB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008488/1.097, allocations: 1.087 MB / 1.251 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001036/1.098, allocations: 219.7 kB / 1.252 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5163/1.615, allocations: 70.7 kB / 1.252 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.615, allocations: 0.875 kB / 1.252 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04306/1.658, allocations: 20.41 MB / 1.272 GB, free: 226.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches