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.0007994/0.0007995, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005273/0.005273, allocations: 169.9 kB / 16.26 MB, free: 6.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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.531/2.531, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003677, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.6834, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2017/0.8852, allocations: 185.9 MB / 1.205 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.8958, allocations: 5.739 MB / 1.21 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.8975, allocations: 31.75 kB / 1.21 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.8991, allocations: 0.4935 MB / 1.211 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.9042, allocations: 1.751 MB / 1.212 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.9074, allocations: 1.08 MB / 1.213 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005136/0.9126, allocations: 4.082 MB / 1.217 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.9139, allocations: 0.7796 MB / 1.218 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.9157, allocations: 0.8789 MB / 1.219 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.9178, allocations: 0.9052 MB / 1.22 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.918, allocations: 44 kB / 1.22 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.9215, allocations: 1.617 MB / 1.222 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.922, allocations: 398.8 kB / 1.222 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.9228, allocations: 0.5887 MB / 1.222 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.9258, allocations: 2.138 MB / 1.225 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9258, allocations: 0 / 1.225 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9258, allocations: 0 / 1.225 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.9258, allocations: 0 / 1.225 GB, free: 0.6875 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.002333/0.9282, allocations: 1.293 MB / 1.226 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9282, allocations: 8.031 kB / 1.226 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.9302, allocations: 318.3 kB / 1.226 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9315, allocations: 0.8085 MB / 1.227 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.9316, allocations: 66 kB / 1.227 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.9317, allocations: 84 kB / 1.227 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.9333, allocations: 0.9247 MB / 1.228 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.9333, allocations: 0 / 1.228 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.9334, allocations: 36 kB / 1.228 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.9335, allocations: 38 kB / 1.228 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.9349, allocations: 0.8354 MB / 1.229 GB, free: 12.18 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.005351/0.9403, allocations: 3.544 MB / 1.232 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/0.9411, allocations: 0.501 MB / 1.233 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/0.9416, allocations: 302 kB / 1.233 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.9418, allocations: 97.53 kB / 1.233 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.9418, allocations: 47 kB / 1.233 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/0.9418, allocations: 0 / 1.233 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004172/0.946, allocations: 1.946 MB / 1.235 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.9461, allocations: 55.84 kB / 1.235 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.9471, allocations: 0.8136 MB / 1.236 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.9472, allocations: 37.7 kB / 1.236 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/0.9475, allocations: 471.3 kB / 1.236 GB, free: 4 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.9476, allocations: 173.5 kB / 1.237 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.9477, allocations: 53.69 kB / 1.237 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.9479, allocations: 333.9 kB / 1.237 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.9483, allocations: 249.2 kB / 1.237 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.9488, allocations: 357.3 kB / 1.238 GB, free: 2.809 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.003711/0.9525, allocations: 1.57 MB / 1.239 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9525, allocations: 0 / 1.239 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001269/0.9538, allocations: 0.7923 MB / 1.24 GB, free: 388 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9538, allocations: 8.344 kB / 1.24 GB, free: 380 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.9538, allocations: 4 kB / 1.24 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.9541, allocations: 105.5 kB / 1.24 GB, free: 264 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.9548, allocations: 155.8 kB / 1.24 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.9576, allocations: 3.06 MB / 1.243 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000918/0.9585, allocations: 59.81 kB / 1.243 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.9586, allocations: 27.98 kB / 1.243 GB, free: 12.7 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: 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.0005006/0.9591, allocations: 293.3 kB / 1.244 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.9592, allocations: 94.91 kB / 1.244 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.9594, allocations: 104.7 kB / 1.244 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.9594, allocations: 4 kB / 1.244 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9594, allocations: 7.984 kB / 1.244 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.9605, allocations: 0.8544 MB / 1.245 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.9632, allocations: 1.807 MB / 1.246 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.9632, allocations: 4.406 kB / 1.246 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.9638, allocations: 135.8 kB / 1.246 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.964, allocations: 72.8 kB / 1.247 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.9641, allocations: 16 kB / 1.247 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/0.9655, allocations: 1.651 MB / 1.248 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9655, allocations: 7.938 kB / 1.248 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/0.9671, allocations: 1.091 MB / 1.249 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/0.9674, allocations: 232 kB / 1.249 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.9676, allocations: 15.94 kB / 1.249 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007739/0.9683, allocations: 67.8 kB / 1.25 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.9685, allocations: 51.83 kB / 1.25 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.9685, allocations: 31.97 kB / 1.25 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006984/0.9692, allocations: 0.5576 MB / 1.25 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9692, allocations: 0 / 1.25 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008867/0.9701, allocations: 280 kB / 1.25 GB, free: 4.934 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.0004394/0.9706, allocations: 193.8 kB / 1.251 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.9718, allocations: 0.8041 MB / 1.251 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9718, allocations: 4.625 kB / 1.251 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.9724, allocations: 426.1 kB / 1.252 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002997/0.9754, allocations: 0.5847 MB / 1.252 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.9786, allocations: 2.255 MB / 1.255 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5413/1.52, allocations: 1.082 MB / 1.256 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001105/1.521, allocations: 216.5 kB / 1.256 GB, free: 229 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/1.521, allocations: 66.66 kB / 1.256 GB, free: 229 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.521, allocations: 0.7188 kB / 1.256 GB, free: 229 MB / 0.9981 GB Notification: Performance of Templates: time 0.04138/1.563, allocations: 19.51 MB / 1.275 GB, free: 224.1 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=480 -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