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.001755/0.001755, allocations: 114.4 kB / 16.41 MB, free: 6.043 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.001936/0.001936, allocations: 188.8 kB / 17.34 MB, free: 5.609 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.521/1.521, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.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.742/2.742, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9036/0.9055, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2409/1.146, allocations: 190.6 MB / 1.354 GB, free: 4.469 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01078/1.157, allocations: 5.73 MB / 1.359 GB, free: 14.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/1.159, allocations: 43.75 kB / 1.359 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/1.161, allocations: 0.6136 MB / 1.36 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006517/1.168, allocations: 1.906 MB / 1.362 GB, free: 12.15 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/1.171, allocations: 1.198 MB / 1.363 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004789/1.176, allocations: 2.959 MB / 1.366 GB, free: 7.992 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/1.178, allocations: 0.946 MB / 1.367 GB, free: 7.035 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/1.18, allocations: 1.098 MB / 1.368 GB, free: 5.934 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/1.183, allocations: 0.9082 MB / 1.369 GB, free: 5.027 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003866/1.183, allocations: 111.9 kB / 1.369 GB, free: 4.918 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/1.187, allocations: 1.442 MB / 1.37 GB, free: 3.473 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007483/1.188, allocations: 450.8 kB / 1.371 GB, free: 3.031 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/1.189, allocations: 0.6573 MB / 1.371 GB, free: 2.371 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004139/1.193, allocations: 2.141 MB / 1.373 GB, free: 228 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.193, allocations: 4 kB / 1.373 GB, free: 224 kB / 1.092 GB Notification: Performance of FrontEnd: time 3.586e-06/1.193, allocations: 4 kB / 1.373 GB, free: 220 kB / 1.092 GB Notification: Performance of Transformations before backend: time 2.949e-05/1.193, allocations: 0 / 1.373 GB, free: 220 kB / 1.092 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.002893/1.196, allocations: 1.549 MB / 1.375 GB, free: 14.61 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.196, allocations: 8.031 kB / 1.375 GB, free: 14.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/1.198, allocations: 323 kB / 1.375 GB, free: 14.29 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/1.2, allocations: 0.8599 MB / 1.376 GB, free: 13.38 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/1.2, allocations: 66 kB / 1.376 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.2, allocations: 84 kB / 1.376 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/1.202, allocations: 0.9115 MB / 1.377 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.202, allocations: 3.984 kB / 1.377 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/1.202, allocations: 40 kB / 1.377 GB, free: 12.28 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/1.202, allocations: 30 kB / 1.377 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/1.203, allocations: 0.8276 MB / 1.378 GB, free: 11.42 MB / 1.107 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.006232/1.21, allocations: 3.514 MB / 1.381 GB, free: 7.684 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/1.211, allocations: 0.4937 MB / 1.382 GB, free: 7.184 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/1.211, allocations: 298.5 kB / 1.382 GB, free: 6.891 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/1.211, allocations: 101.5 kB / 1.382 GB, free: 6.773 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/1.211, allocations: 54.84 kB / 1.382 GB, free: 6.711 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 2.255e-06/1.211, allocations: 0 / 1.382 GB, free: 6.711 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.004594/1.216, allocations: 1.928 MB / 1.384 GB, free: 4.688 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/1.216, allocations: 59.84 kB / 1.384 GB, free: 4.617 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.217, allocations: 0.8058 MB / 1.385 GB, free: 3.805 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.609e-05/1.217, allocations: 37.7 kB / 1.385 GB, free: 3.762 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/1.218, allocations: 480.2 kB / 1.385 GB, free: 3.289 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/1.218, allocations: 186.4 kB / 1.386 GB, free: 3.105 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/1.218, allocations: 114.3 kB / 1.386 GB, free: 2.988 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001897/1.218, allocations: 337.9 kB / 1.386 GB, free: 2.652 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/1.219, allocations: 237.2 kB / 1.386 GB, free: 2.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005814/1.22, allocations: 357.2 kB / 1.387 GB, free: 2.035 MB / 1.107 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.004073/1.224, allocations: 1.534 MB / 1.388 GB, free: 460 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/1.224, allocations: 0 / 1.388 GB, free: 460 kB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001675/1.225, allocations: 0.793 MB / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.225, allocations: 8 kB / 1.389 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.225, allocations: 7.984 kB / 1.389 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003399/1.226, allocations: 93.64 kB / 1.389 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/1.226, allocations: 143.8 kB / 1.389 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/1.23, allocations: 3.306 MB / 1.392 GB, free: 11.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/1.231, allocations: 28.11 kB / 1.392 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/1.231, allocations: 28 kB / 1.392 GB, free: 11.75 MB / 1.123 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.0005815/1.232, allocations: 301.5 kB / 1.393 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.232, allocations: 95.44 kB / 1.393 GB, free: 11.35 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/1.232, allocations: 104.8 kB / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/1.232, allocations: 4 kB / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.232, allocations: 0 / 1.393 GB, free: 11.24 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001244/1.233, allocations: 0.8427 MB / 1.394 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/1.237, allocations: 1.792 MB / 1.395 GB, free: 8.414 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.237, allocations: 4 kB / 1.395 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/1.237, allocations: 127.8 kB / 1.396 GB, free: 8.285 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/1.238, allocations: 69.16 kB / 1.396 GB, free: 8.215 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/1.238, allocations: 16 kB / 1.396 GB, free: 8.199 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/1.24, allocations: 1.789 MB / 1.397 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.24, allocations: 4 kB / 1.397 GB, free: 6.27 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/1.242, allocations: 1.07 MB / 1.398 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/1.242, allocations: 248.3 kB / 1.399 GB, free: 4.879 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/1.242, allocations: 8 kB / 1.399 GB, free: 4.871 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/1.243, allocations: 35.89 kB / 1.399 GB, free: 4.84 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.243, allocations: 47.89 kB / 1.399 GB, free: 4.793 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/1.243, allocations: 27.98 kB / 1.399 GB, free: 4.766 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009398/1.244, allocations: 0.5615 MB / 1.399 GB, free: 4.211 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.244, allocations: 0 / 1.399 GB, free: 4.211 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001073/1.246, allocations: 280 kB / 1.4 GB, free: 3.938 MB / 1.123 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.0005702/1.246, allocations: 200.4 kB / 1.4 GB, free: 3.738 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001622/1.248, allocations: 0.8076 MB / 1.401 GB, free: 2.902 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/1.248, allocations: 4 kB / 1.401 GB, free: 2.898 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006878/1.248, allocations: 415.5 kB / 1.401 GB, free: 2.48 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.251, allocations: 0.5995 MB / 1.402 GB, free: 1.895 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/1.255, allocations: 1.835 MB / 1.403 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/1.256, allocations: 1.091 MB / 1.404 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009183/1.257, allocations: 211.7 kB / 1.405 GB, free: 14.65 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/1.257, allocations: 67.44 kB / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.257, allocations: 0 / 1.405 GB, free: 14.59 MB / 1.139 GB Notification: Performance of Templates: time 0.04137/1.298, allocations: 20.84 MB / 1.425 GB, free: 10.03 MB / 1.154 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches