Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001472/0.001471, allocations: 106.7 kB / 16.41 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.001474/0.001474, allocations: 187 kB / 17.34 MB, free: 5.723 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9433/0.9447, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2117/1.157, allocations: 190.6 MB / 1.395 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009959/1.167, allocations: 5.735 MB / 1.4 GB, free: 8.574 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.168, allocations: 43.75 kB / 1.4 GB, free: 8.531 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/1.17, allocations: 0.5747 MB / 1.401 GB, free: 7.953 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004853/1.175, allocations: 1.839 MB / 1.403 GB, free: 6.105 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/1.178, allocations: 1.188 MB / 1.404 GB, free: 4.926 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004191/1.182, allocations: 2.955 MB / 1.407 GB, free: 1.957 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/1.184, allocations: 0.9516 MB / 1.408 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/1.186, allocations: 1.074 MB / 1.409 GB, free: 15.92 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/1.188, allocations: 0.9111 MB / 1.409 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/1.188, allocations: 108 kB / 1.41 GB, free: 14.9 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/1.191, allocations: 1.426 MB / 1.411 GB, free: 13.47 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004757/1.192, allocations: 458.8 kB / 1.411 GB, free: 13.02 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008066/1.192, allocations: 0.6495 MB / 1.412 GB, free: 12.37 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/1.196, allocations: 2.146 MB / 1.414 GB, free: 10.22 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.196, allocations: 0 / 1.414 GB, free: 10.22 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.164e-06/1.196, allocations: 0 / 1.414 GB, free: 10.22 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.196, allocations: 0 / 1.414 GB, free: 10.22 MB / 1.139 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.002495/1.198, allocations: 1.516 MB / 1.416 GB, free: 8.652 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.198, allocations: 8.031 kB / 1.416 GB, free: 8.645 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.2, allocations: 306.4 kB / 1.416 GB, free: 8.344 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/1.202, allocations: 0.863 MB / 1.417 GB, free: 7.438 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/1.202, allocations: 62 kB / 1.417 GB, free: 7.375 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.202, allocations: 84 kB / 1.417 GB, free: 7.293 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.203, allocations: 0.913 MB / 1.418 GB, free: 6.375 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.204, allocations: 0 / 1.418 GB, free: 6.375 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/1.204, allocations: 36 kB / 1.418 GB, free: 6.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/1.204, allocations: 34 kB / 1.418 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/1.205, allocations: 0.8314 MB / 1.419 GB, free: 5.473 MB / 1.139 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.005201/1.21, allocations: 3.509 MB / 1.422 GB, free: 1.746 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/1.211, allocations: 0.4965 MB / 1.423 GB, free: 1.242 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000433/1.211, allocations: 291.3 kB / 1.423 GB, free: 0.957 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.212, allocations: 109.5 kB / 1.423 GB, free: 0.832 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/1.212, allocations: 42.91 kB / 1.423 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/1.212, allocations: 0 / 1.423 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of matching and sorting (n=49): time 0.003956/1.216, allocations: 1.915 MB / 1.425 GB, free: 14.77 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.216, allocations: 55.84 kB / 1.425 GB, free: 14.7 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009357/1.217, allocations: 0.8096 MB / 1.426 GB, free: 13.89 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.983e-05/1.217, allocations: 41.7 kB / 1.426 GB, free: 13.84 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/1.217, allocations: 471.4 kB / 1.426 GB, free: 13.37 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/1.217, allocations: 173.5 kB / 1.426 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/1.217, allocations: 114.2 kB / 1.426 GB, free: 13.08 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.218, allocations: 329.9 kB / 1.427 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/1.218, allocations: 245.2 kB / 1.427 GB, free: 12.51 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/1.218, allocations: 353.2 kB / 1.427 GB, free: 12.13 MB / 1.154 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.003645/1.222, allocations: 1.534 MB / 1.429 GB, free: 10.54 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.222, allocations: 4 kB / 1.429 GB, free: 10.54 MB / 1.154 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001325/1.223, allocations: 0.7809 MB / 1.43 GB, free: 9.746 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.223, allocations: 9.719 kB / 1.43 GB, free: 9.738 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/1.223, allocations: 0 / 1.43 GB, free: 9.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002924/1.224, allocations: 97.59 kB / 1.43 GB, free: 9.637 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.224, allocations: 147.8 kB / 1.43 GB, free: 9.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002975/1.227, allocations: 3.302 MB / 1.433 GB, free: 5.906 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/1.228, allocations: 27.83 kB / 1.433 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/1.228, allocations: 27.92 kB / 1.433 GB, free: 5.852 MB / 1.154 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.0005398/1.229, allocations: 301.6 kB / 1.433 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.229, allocations: 90.97 kB / 1.434 GB, free: 5.457 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/1.229, allocations: 104.8 kB / 1.434 GB, free: 5.355 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.229, allocations: 4 kB / 1.434 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.229, allocations: 0 / 1.434 GB, free: 5.352 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/1.23, allocations: 0.8504 MB / 1.434 GB, free: 4.41 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/1.234, allocations: 1.779 MB / 1.436 GB, free: 2.531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.234, allocations: 4 kB / 1.436 GB, free: 2.527 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/1.234, allocations: 127.8 kB / 1.436 GB, free: 2.402 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/1.234, allocations: 73.2 kB / 1.436 GB, free: 2.328 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/1.234, allocations: 12 kB / 1.436 GB, free: 2.316 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/1.236, allocations: 1.789 MB / 1.438 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.236, allocations: 7.938 kB / 1.438 GB, free: 388 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/1.238, allocations: 1.07 MB / 1.439 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/1.238, allocations: 231.9 kB / 1.439 GB, free: 15.01 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/1.238, allocations: 19.98 kB / 1.439 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/1.239, allocations: 30.42 kB / 1.439 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.239, allocations: 43.89 kB / 1.44 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/1.239, allocations: 35.97 kB / 1.44 GB, free: 14.88 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007486/1.24, allocations: 0.5576 MB / 1.44 GB, free: 14.33 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.24, allocations: 0 / 1.44 GB, free: 14.33 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009949/1.241, allocations: 280 kB / 1.44 GB, free: 14.05 MB / 1.17 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.0005029/1.242, allocations: 194.3 kB / 1.441 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001376/1.243, allocations: 0.8159 MB / 1.441 GB, free: 13.02 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.243, allocations: 4 kB / 1.441 GB, free: 13.02 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005729/1.244, allocations: 404 kB / 1.442 GB, free: 12.61 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.247, allocations: 0.6123 MB / 1.442 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/1.25, allocations: 1.853 MB / 1.444 GB, free: 10.08 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/1.25, allocations: 1.084 MB / 1.445 GB, free: 8.961 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/1.251, allocations: 75.42 kB / 1.445 GB, free: 8.891 MB / 1.17 GB Notification: Performance of SimCode: time 9.02e-07/1.251, allocations: 0 / 1.445 GB, free: 8.891 MB / 1.17 GB Notification: Performance of Templates: time 0.03929/1.29, allocations: 21.99 MB / 1.467 GB, free: 3.016 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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