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.001465/0.001465, allocations: 110.4 kB / 15.99 MB, free: 6.367 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.001315/0.001315, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.325/1.325, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.384/2.384, allocations: 437 MB / 0.7107 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 68.7 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8561/1.181, allocations: 188.1 MB / 1.201 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01131/1.193, allocations: 5.696 MB / 1.207 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/1.195, allocations: 34.5 kB / 1.207 GB, free: 3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/1.197, allocations: 0.5076 MB / 1.207 GB, free: 2.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/1.204, allocations: 1.727 MB / 1.209 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/1.208, allocations: 1.095 MB / 1.21 GB, free: 468 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006362/1.214, allocations: 2.952 MB / 1.213 GB, free: 14.79 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/1.217, allocations: 0.9343 MB / 1.214 GB, free: 14.2 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/1.22, allocations: 1.053 MB / 1.215 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/1.224, allocations: 0.9733 MB / 1.216 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005866/1.224, allocations: 108.4 kB / 1.216 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005206/1.23, allocations: 1.502 MB / 1.217 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001125/1.231, allocations: 467.1 kB / 1.218 GB, free: 11.93 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002281/1.233, allocations: 0.6581 MB / 1.218 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003994/1.237, allocations: 1.615 MB / 1.22 GB, free: 10.47 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.237, allocations: 0 / 1.22 GB, free: 10.47 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.976e-06/1.237, allocations: 0 / 1.22 GB, free: 10.47 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.614e-05/1.237, allocations: 0 / 1.22 GB, free: 10.47 MB / 0.92 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.005176/1.242, allocations: 1.513 MB / 1.222 GB, free: 8.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.243, allocations: 8.922 kB / 1.222 GB, free: 8.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003068/1.246, allocations: 322.2 kB / 1.222 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/1.248, allocations: 0.8161 MB / 1.223 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.848e-05/1.248, allocations: 62 kB / 1.223 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/1.248, allocations: 87.98 kB / 1.223 GB, free: 7.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/1.251, allocations: 0.9131 MB / 1.224 GB, free: 6.668 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.251, allocations: 0 / 1.224 GB, free: 6.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/1.251, allocations: 36 kB / 1.224 GB, free: 6.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.414e-05/1.251, allocations: 30 kB / 1.224 GB, free: 6.605 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/1.253, allocations: 0.8353 MB / 1.225 GB, free: 5.766 MB / 0.92 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.008626/1.262, allocations: 3.516 MB / 1.228 GB, free: 2.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/1.263, allocations: 0.4989 MB / 1.228 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/1.264, allocations: 298 kB / 1.229 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/1.264, allocations: 97.53 kB / 1.229 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.264, allocations: 43 kB / 1.229 GB, free: 1.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 3.656e-06/1.264, allocations: 0 / 1.229 GB, free: 1.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=49): time 0.005984/1.27, allocations: 1.919 MB / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/1.27, allocations: 63.84 kB / 1.231 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.272, allocations: 0.8135 MB / 1.232 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.595e-05/1.272, allocations: 37.7 kB / 1.232 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/1.272, allocations: 467.4 kB / 1.232 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.273, allocations: 177.5 kB / 1.232 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/1.273, allocations: 110.2 kB / 1.232 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.273, allocations: 337.9 kB / 1.233 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006945/1.274, allocations: 241.2 kB / 1.233 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/1.274, allocations: 353.2 kB / 1.233 GB, free: 12.41 MB / 0.9356 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.004433/1.279, allocations: 1.544 MB / 1.235 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.279, allocations: 4 kB / 1.235 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00145/1.28, allocations: 0.7806 MB / 1.236 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.28, allocations: 8.344 kB / 1.236 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.28, allocations: 8 kB / 1.236 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/1.281, allocations: 89.59 kB / 1.236 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/1.281, allocations: 151.8 kB / 1.236 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/1.285, allocations: 3.304 MB / 1.239 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.286, allocations: 59.86 kB / 1.239 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/1.286, allocations: 28.44 kB / 1.239 GB, free: 6.09 MB / 0.9356 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.0005759/1.287, allocations: 303.5 kB / 1.239 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/1.287, allocations: 86.97 kB / 1.239 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/1.287, allocations: 100.7 kB / 1.24 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/1.287, allocations: 8 kB / 1.24 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.287, allocations: 1.5 kB / 1.24 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/1.288, allocations: 0.8427 MB / 1.24 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/1.292, allocations: 1.799 MB / 1.242 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.292, allocations: 4 kB / 1.242 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/1.292, allocations: 128.2 kB / 1.242 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/1.293, allocations: 64.81 kB / 1.242 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/1.293, allocations: 19.98 kB / 1.242 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/1.294, allocations: 1.787 MB / 1.244 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.294, allocations: 7.938 kB / 1.244 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/1.296, allocations: 1.076 MB / 1.245 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/1.297, allocations: 240 kB / 1.245 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/1.297, allocations: 15.98 kB / 1.245 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/1.298, allocations: 59.86 kB / 1.245 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.298, allocations: 47.83 kB / 1.245 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/1.298, allocations: 27.98 kB / 1.246 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008253/1.299, allocations: 0.5576 MB / 1.246 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.299, allocations: 4 kB / 1.246 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001267/1.3, allocations: 292 kB / 1.246 GB, free: 14.23 MB / 0.9512 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.000574/1.301, allocations: 186.7 kB / 1.247 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001616/1.302, allocations: 0.8584 MB / 1.247 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.302, allocations: 4.688 kB / 1.247 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/1.303, allocations: 414.2 kB / 1.248 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.306, allocations: 0.6119 MB / 1.248 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/1.31, allocations: 2.237 MB / 1.251 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/1.311, allocations: 1.084 MB / 1.252 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.311, allocations: 71.44 kB / 1.252 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/1.311, allocations: 0 / 1.252 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of Templates: time 0.03304/1.344, allocations: 21.89 MB / 1.273 GB, free: 2.891 MB / 0.9669 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