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.001698/0.001698, allocations: 100.8 kB / 16.4 MB, free: 6.465 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.001933/0.001933, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.09 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.536/2.536, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.84 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9225, 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.2117/1.134, allocations: 190.6 MB / 1.354 GB, free: 4.473 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01038/1.145, allocations: 5.741 MB / 1.359 GB, free: 14.72 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/1.147, allocations: 39.75 kB / 1.359 GB, free: 14.68 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/1.149, allocations: 0.602 MB / 1.36 GB, free: 14.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005457/1.154, allocations: 1.91 MB / 1.362 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003571/1.158, allocations: 1.202 MB / 1.363 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004699/1.162, allocations: 2.951 MB / 1.366 GB, free: 8.004 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/1.164, allocations: 0.9548 MB / 1.367 GB, free: 7.039 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/1.167, allocations: 1.097 MB / 1.368 GB, free: 5.938 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/1.17, allocations: 0.9061 MB / 1.369 GB, free: 5.035 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0004459/1.17, allocations: 108 kB / 1.369 GB, free: 4.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/1.174, allocations: 1.442 MB / 1.37 GB, free: 3.484 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007769/1.174, allocations: 458.8 kB / 1.37 GB, free: 3.035 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/1.176, allocations: 0.6495 MB / 1.371 GB, free: 2.383 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005062/1.181, allocations: 2.153 MB / 1.373 GB, free: 228 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.181, allocations: 0 / 1.373 GB, free: 228 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.864e-06/1.181, allocations: 0 / 1.373 GB, free: 228 kB / 1.092 GB Notification: Performance of Transformations before backend: time 7.742e-05/1.181, allocations: 0 / 1.373 GB, free: 228 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.003755/1.185, allocations: 1.547 MB / 1.375 GB, free: 14.62 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.185, allocations: 16.56 kB / 1.375 GB, free: 14.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/1.187, allocations: 319 kB / 1.375 GB, free: 14.29 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/1.189, allocations: 0.8598 MB / 1.376 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/1.189, allocations: 66 kB / 1.376 GB, free: 13.32 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.189, allocations: 80 kB / 1.376 GB, free: 13.25 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.191, allocations: 0.913 MB / 1.377 GB, free: 12.33 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/1.191, allocations: 3.984 kB / 1.377 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/1.191, allocations: 36 kB / 1.377 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/1.191, allocations: 34 kB / 1.377 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.193, allocations: 0.8276 MB / 1.378 GB, free: 11.43 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.006213/1.199, allocations: 3.518 MB / 1.381 GB, free: 7.684 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/1.2, allocations: 0.4897 MB / 1.382 GB, free: 7.188 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/1.2, allocations: 298 kB / 1.382 GB, free: 6.895 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/1.2, allocations: 105.5 kB / 1.382 GB, free: 6.773 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/1.201, allocations: 42.75 kB / 1.382 GB, free: 6.727 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/1.201, allocations: 0 / 1.382 GB, free: 6.727 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.004506/1.205, allocations: 1.94 MB / 1.384 GB, free: 4.691 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/1.205, allocations: 55.84 kB / 1.384 GB, free: 4.625 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.206, allocations: 0.8097 MB / 1.385 GB, free: 3.809 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/1.206, allocations: 37.7 kB / 1.385 GB, free: 3.766 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/1.207, allocations: 480.3 kB / 1.385 GB, free: 3.293 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/1.207, allocations: 182.4 kB / 1.386 GB, free: 3.113 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.207, allocations: 122.2 kB / 1.386 GB, free: 2.988 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.207, allocations: 329.9 kB / 1.386 GB, free: 2.66 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/1.208, allocations: 245.2 kB / 1.386 GB, free: 2.422 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/1.208, allocations: 353.2 kB / 1.387 GB, free: 2.039 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.003826/1.212, allocations: 1.534 MB / 1.388 GB, free: 464 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.212, allocations: 0 / 1.388 GB, free: 464 kB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00152/1.214, allocations: 0.7888 MB / 1.389 GB, free: 15.65 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.214, allocations: 4 kB / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.214, allocations: 4 kB / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003278/1.214, allocations: 105.9 kB / 1.389 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/1.215, allocations: 143.8 kB / 1.389 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003208/1.218, allocations: 3.298 MB / 1.392 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/1.219, allocations: 31.92 kB / 1.392 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/1.219, allocations: 20 kB / 1.392 GB, free: 11.77 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.0005421/1.22, allocations: 304.5 kB / 1.393 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/1.22, allocations: 95.44 kB / 1.393 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/1.22, allocations: 104.7 kB / 1.393 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.22, allocations: 8 kB / 1.393 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.22, allocations: 0 / 1.393 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001128/1.221, allocations: 0.8426 MB / 1.394 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/1.224, allocations: 1.796 MB / 1.395 GB, free: 8.422 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.225, allocations: 4 kB / 1.395 GB, free: 8.418 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/1.225, allocations: 128.3 kB / 1.396 GB, free: 8.293 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/1.225, allocations: 68.8 kB / 1.396 GB, free: 8.223 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-05/1.225, allocations: 12 kB / 1.396 GB, free: 8.211 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.227, allocations: 1.785 MB / 1.397 GB, free: 6.289 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.227, allocations: 4 kB / 1.397 GB, free: 6.285 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/1.229, allocations: 1.07 MB / 1.398 GB, free: 5.156 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/1.23, allocations: 248.3 kB / 1.399 GB, free: 4.895 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/1.23, allocations: 20.06 kB / 1.399 GB, free: 4.875 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/1.231, allocations: 26.62 kB / 1.399 GB, free: 4.852 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.231, allocations: 47.83 kB / 1.399 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.301e-05/1.231, allocations: 31.97 kB / 1.399 GB, free: 4.773 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008573/1.232, allocations: 0.5537 MB / 1.399 GB, free: 4.227 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.232, allocations: 4 kB / 1.399 GB, free: 4.223 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001028/1.233, allocations: 280 kB / 1.4 GB, free: 3.949 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.0005443/1.233, allocations: 209.3 kB / 1.4 GB, free: 3.746 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001454/1.235, allocations: 0.8076 MB / 1.401 GB, free: 2.918 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.235, allocations: 0.6875 kB / 1.401 GB, free: 2.918 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/1.235, allocations: 414.2 kB / 1.401 GB, free: 2.5 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.238, allocations: 0.5987 MB / 1.402 GB, free: 1.91 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/1.242, allocations: 1.893 MB / 1.403 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.243, allocations: 1.083 MB / 1.404 GB, free: 14.82 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/1.243, allocations: 75.42 kB / 1.405 GB, free: 14.74 MB / 1.139 GB Notification: Performance of SimCode: time 1.503e-06/1.243, allocations: 0 / 1.405 GB, free: 14.74 MB / 1.139 GB Notification: Performance of Templates: time 0.0358/1.279, allocations: 21.97 MB / 1.426 GB, free: 8.895 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T