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.00741/0.00741, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.0016/0.0016, allocations: 193.7 kB / 16.67 MB, free: 5.523 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.426/2.426, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9198/0.921, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.194/1.115, allocations: 190.6 MB / 1.353 GB, free: 4.492 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.126, allocations: 5.721 MB / 1.358 GB, free: 14.76 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/1.128, allocations: 43.75 kB / 1.358 GB, free: 14.71 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/1.13, allocations: 0.5747 MB / 1.359 GB, free: 14.14 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004299/1.134, allocations: 1.853 MB / 1.361 GB, free: 12.28 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/1.137, allocations: 1.186 MB / 1.362 GB, free: 11.1 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003514/1.14, allocations: 2.961 MB / 1.365 GB, free: 8.129 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/1.141, allocations: 0.9469 MB / 1.366 GB, free: 7.172 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/1.143, allocations: 1.043 MB / 1.367 GB, free: 6.125 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/1.144, allocations: 0.9158 MB / 1.368 GB, free: 5.211 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/1.145, allocations: 108 kB / 1.368 GB, free: 5.105 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/1.147, allocations: 1.426 MB / 1.369 GB, free: 3.676 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/1.147, allocations: 462.8 kB / 1.37 GB, free: 3.223 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006419/1.148, allocations: 0.6573 MB / 1.37 GB, free: 2.562 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/1.151, allocations: 2.141 MB / 1.372 GB, free: 424 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.151, allocations: 0 / 1.372 GB, free: 424 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.513e-06/1.151, allocations: 4 kB / 1.372 GB, free: 420 kB / 1.092 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.151, allocations: 0 / 1.372 GB, free: 420 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.002213/1.153, allocations: 1.549 MB / 1.374 GB, free: 14.8 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/1.153, allocations: 12.86 kB / 1.374 GB, free: 14.79 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/1.155, allocations: 319 kB / 1.374 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/1.156, allocations: 0.856 MB / 1.375 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.553e-05/1.156, allocations: 66 kB / 1.375 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/1.156, allocations: 80 kB / 1.375 GB, free: 13.44 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/1.158, allocations: 0.9169 MB / 1.376 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.158, allocations: 4 kB / 1.376 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/1.158, allocations: 43.94 kB / 1.376 GB, free: 12.47 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/1.158, allocations: 33.98 kB / 1.376 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/1.159, allocations: 0.8237 MB / 1.377 GB, free: 11.61 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.004823/1.164, allocations: 3.51 MB / 1.38 GB, free: 7.875 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/1.165, allocations: 0.4942 MB / 1.381 GB, free: 7.375 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004489/1.165, allocations: 294 kB / 1.381 GB, free: 7.086 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.166, allocations: 105.5 kB / 1.381 GB, free: 6.965 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.166, allocations: 46.75 kB / 1.381 GB, free: 6.914 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 1.734e-06/1.166, allocations: 0 / 1.381 GB, free: 6.914 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.003702/1.169, allocations: 1.932 MB / 1.383 GB, free: 4.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/1.169, allocations: 63.84 kB / 1.383 GB, free: 4.812 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000894/1.17, allocations: 0.8097 MB / 1.384 GB, free: 3.996 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/1.17, allocations: 37.7 kB / 1.384 GB, free: 3.953 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/1.171, allocations: 476.3 kB / 1.384 GB, free: 3.484 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/1.171, allocations: 186.4 kB / 1.385 GB, free: 3.301 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/1.171, allocations: 106.3 kB / 1.385 GB, free: 3.191 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.171, allocations: 337.9 kB / 1.385 GB, free: 2.855 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/1.171, allocations: 245.1 kB / 1.385 GB, free: 2.617 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/1.172, allocations: 353.2 kB / 1.386 GB, free: 2.234 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.003627/1.176, allocations: 1.54 MB / 1.387 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.176, allocations: 0 / 1.387 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001238/1.177, allocations: 0.7888 MB / 1.388 GB, free: 15.84 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.177, allocations: 8 kB / 1.388 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.177, allocations: 4 kB / 1.388 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/1.177, allocations: 93.94 kB / 1.388 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/1.178, allocations: 147.8 kB / 1.388 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/1.181, allocations: 3.308 MB / 1.391 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/1.181, allocations: 27.98 kB / 1.391 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/1.181, allocations: 31.98 kB / 1.391 GB, free: 11.95 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.0003671/1.182, allocations: 290.8 kB / 1.392 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/1.182, allocations: 99.42 kB / 1.392 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/1.182, allocations: 104.7 kB / 1.392 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.182, allocations: 4 kB / 1.392 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.182, allocations: 0 / 1.392 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.183, allocations: 0.8504 MB / 1.393 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/1.186, allocations: 1.792 MB / 1.395 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.186, allocations: 4.031 kB / 1.395 GB, free: 8.605 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/1.186, allocations: 127.9 kB / 1.395 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/1.187, allocations: 68.8 kB / 1.395 GB, free: 8.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.187, allocations: 16 kB / 1.395 GB, free: 8.395 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/1.188, allocations: 1.785 MB / 1.396 GB, free: 6.473 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.188, allocations: 8.062 kB / 1.396 GB, free: 6.465 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/1.19, allocations: 1.07 MB / 1.398 GB, free: 5.336 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/1.19, allocations: 248.3 kB / 1.398 GB, free: 5.074 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/1.19, allocations: 8 kB / 1.398 GB, free: 5.066 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/1.191, allocations: 27.98 kB / 1.398 GB, free: 5.039 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.191, allocations: 47.81 kB / 1.398 GB, free: 4.992 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/1.191, allocations: 28.05 kB / 1.398 GB, free: 4.965 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006814/1.192, allocations: 0.5654 MB / 1.398 GB, free: 4.406 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.312e-06/1.192, allocations: 0 / 1.398 GB, free: 4.406 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007853/1.193, allocations: 279.9 kB / 1.399 GB, free: 4.133 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.0004434/1.193, allocations: 205.6 kB / 1.399 GB, free: 3.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.194, allocations: 0.8044 MB / 1.4 GB, free: 3.105 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.194, allocations: 8.062 kB / 1.4 GB, free: 3.098 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/1.195, allocations: 410.2 kB / 1.4 GB, free: 2.684 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.198, allocations: 0.6023 MB / 1.401 GB, free: 2.094 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/1.2, allocations: 1.827 MB / 1.402 GB, free: 192 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/1.201, allocations: 1.087 MB / 1.403 GB, free: 15.07 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007067/1.202, allocations: 211.6 kB / 1.404 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/1.202, allocations: 71.44 kB / 1.404 GB, free: 14.79 MB / 1.139 GB Notification: Performance of SimCode: time 2.274e-06/1.202, allocations: 0 / 1.404 GB, free: 14.79 MB / 1.139 GB Notification: Performance of Templates: time 0.03281/1.235, allocations: 20.75 MB / 1.424 GB, free: 10.32 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 -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