Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001541/0.001541, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.002035/0.002035, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.89 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8918/0.8933, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2509/1.144, allocations: 190.6 MB / 1.275 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01061/1.155, allocations: 5.746 MB / 1.28 GB, free: 9.277 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/1.157, allocations: 39.75 kB / 1.28 GB, free: 9.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/1.159, allocations: 0.602 MB / 1.281 GB, free: 8.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005208/1.164, allocations: 1.913 MB / 1.283 GB, free: 6.711 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/1.167, allocations: 1.194 MB / 1.284 GB, free: 5.523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004261/1.171, allocations: 2.955 MB / 1.287 GB, free: 2.562 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/1.173, allocations: 0.9517 MB / 1.288 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/1.175, allocations: 1.101 MB / 1.289 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.177, allocations: 0.919 MB / 1.29 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003221/1.178, allocations: 108 kB / 1.29 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/1.181, allocations: 1.434 MB / 1.291 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006306/1.181, allocations: 458.8 kB / 1.292 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/1.183, allocations: 0.6572 MB / 1.292 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.187, allocations: 2.139 MB / 1.294 GB, free: 10.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.187, allocations: 0 / 1.294 GB, free: 10.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/1.187, allocations: 0 / 1.294 GB, free: 10.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.33e-05/1.187, allocations: 0 / 1.294 GB, free: 10.78 MB / 1.029 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.003283/1.19, allocations: 1.503 MB / 1.296 GB, free: 9.227 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/1.19, allocations: 12.03 kB / 1.296 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/1.192, allocations: 314.3 kB / 1.296 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/1.194, allocations: 0.8707 MB / 1.297 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/1.194, allocations: 58 kB / 1.297 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/1.194, allocations: 84 kB / 1.297 GB, free: 7.852 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/1.196, allocations: 0.913 MB / 1.298 GB, free: 6.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.196, allocations: 0 / 1.298 GB, free: 6.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/1.196, allocations: 36 kB / 1.298 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/1.196, allocations: 33.94 kB / 1.298 GB, free: 6.863 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/1.197, allocations: 0.8276 MB / 1.299 GB, free: 6.035 MB / 1.029 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.005228/1.203, allocations: 3.501 MB / 1.302 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/1.203, allocations: 0.4997 MB / 1.303 GB, free: 1.809 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/1.204, allocations: 291 kB / 1.303 GB, free: 1.523 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/1.204, allocations: 109.5 kB / 1.303 GB, free: 1.398 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/1.204, allocations: 39 kB / 1.303 GB, free: 1.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/1.204, allocations: 0 / 1.303 GB, free: 1.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.003957/1.208, allocations: 1.926 MB / 1.305 GB, free: 15.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.208, allocations: 59.78 kB / 1.305 GB, free: 15.25 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/1.209, allocations: 0.802 MB / 1.306 GB, free: 14.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/1.209, allocations: 37.7 kB / 1.306 GB, free: 14.4 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/1.21, allocations: 483.3 kB / 1.307 GB, free: 13.92 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/1.21, allocations: 169.5 kB / 1.307 GB, free: 13.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.21, allocations: 110.2 kB / 1.307 GB, free: 13.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.21, allocations: 337.9 kB / 1.307 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/1.211, allocations: 241.2 kB / 1.307 GB, free: 13.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/1.211, allocations: 353.2 kB / 1.308 GB, free: 12.68 MB / 1.045 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.003663/1.215, allocations: 1.534 MB / 1.309 GB, free: 11.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.215, allocations: 0 / 1.309 GB, free: 11.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001359/1.216, allocations: 0.7848 MB / 1.31 GB, free: 10.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.216, allocations: 8 kB / 1.31 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.216, allocations: 0 / 1.31 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/1.216, allocations: 101.6 kB / 1.31 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/1.217, allocations: 143.8 kB / 1.31 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/1.22, allocations: 3.295 MB / 1.313 GB, free: 6.469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/1.221, allocations: 27.92 kB / 1.313 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/1.221, allocations: 20 kB / 1.313 GB, free: 6.422 MB / 1.045 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.0004899/1.222, allocations: 302.3 kB / 1.314 GB, free: 6.117 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/1.222, allocations: 98.94 kB / 1.314 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/1.222, allocations: 108.7 kB / 1.314 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.222, allocations: 4 kB / 1.314 GB, free: 5.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.222, allocations: 0 / 1.314 GB, free: 5.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.223, allocations: 0.8426 MB / 1.315 GB, free: 4.977 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/1.226, allocations: 1.79 MB / 1.317 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.226, allocations: 4 kB / 1.317 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/1.227, allocations: 127.8 kB / 1.317 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002383/1.227, allocations: 73.2 kB / 1.317 GB, free: 2.879 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/1.227, allocations: 15.94 kB / 1.317 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/1.229, allocations: 1.781 MB / 1.318 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.229, allocations: 7.938 kB / 1.319 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.231, allocations: 1.066 MB / 1.32 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004526/1.231, allocations: 235.8 kB / 1.32 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.231, allocations: 19.98 kB / 1.32 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/1.232, allocations: 26.61 kB / 1.32 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.232, allocations: 51.89 kB / 1.32 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.232, allocations: 27.98 kB / 1.32 GB, free: 15.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008069/1.233, allocations: 0.5576 MB / 1.32 GB, free: 14.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.233, allocations: 4 kB / 1.32 GB, free: 14.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009473/1.234, allocations: 280 kB / 1.321 GB, free: 14.61 MB / 1.061 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.0005101/1.234, allocations: 195.9 kB / 1.321 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00143/1.236, allocations: 0.8006 MB / 1.322 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.236, allocations: 3.906 kB / 1.322 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006356/1.237, allocations: 419.8 kB / 1.322 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.239, allocations: 0.6009 MB / 1.323 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/1.242, allocations: 1.858 MB / 1.324 GB, free: 10.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/1.243, allocations: 1.083 MB / 1.326 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/1.243, allocations: 75.44 kB / 1.326 GB, free: 9.449 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.243, allocations: 0 / 1.326 GB, free: 9.449 MB / 1.061 GB Notification: Performance of Templates: time 0.03189/1.275, allocations: 21.99 MB / 1.347 GB, free: 3.59 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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