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.001516/0.001516, allocations: 109 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.001809/0.001809, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.465/1.465, 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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8179, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2336/1.052, allocations: 190.6 MB / 1.275 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0107/1.062, allocations: 5.725 MB / 1.28 GB, free: 9.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/1.064, allocations: 43.75 kB / 1.28 GB, free: 9.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/1.066, allocations: 0.5785 MB / 1.281 GB, free: 8.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005065/1.071, allocations: 1.847 MB / 1.283 GB, free: 6.801 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/1.074, allocations: 1.181 MB / 1.284 GB, free: 5.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004362/1.078, allocations: 2.963 MB / 1.287 GB, free: 2.656 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/1.08, allocations: 0.9477 MB / 1.288 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/1.082, allocations: 1.07 MB / 1.289 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/1.084, allocations: 0.9177 MB / 1.29 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/1.084, allocations: 111.9 kB / 1.29 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/1.087, allocations: 1.43 MB / 1.291 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004664/1.088, allocations: 454.8 kB / 1.292 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000755/1.088, allocations: 0.6534 MB / 1.292 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003225/1.092, allocations: 2.138 MB / 1.294 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.092, allocations: 0 / 1.294 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.965e-06/1.092, allocations: 7.984 kB / 1.294 GB, free: 10.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.222e-05/1.092, allocations: 0 / 1.294 GB, free: 10.92 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.00254/1.094, allocations: 1.503 MB / 1.296 GB, free: 9.363 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.094, allocations: 12.03 kB / 1.296 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/1.096, allocations: 310.4 kB / 1.296 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.098, allocations: 0.8669 MB / 1.297 GB, free: 8.137 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/1.098, allocations: 58 kB / 1.297 GB, free: 8.078 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.098, allocations: 87.94 kB / 1.297 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/1.099, allocations: 0.9169 MB / 1.298 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/1.099, allocations: 0 / 1.298 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/1.099, allocations: 36 kB / 1.298 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/1.1, allocations: 30 kB / 1.298 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/1.101, allocations: 0.8276 MB / 1.299 GB, free: 6.176 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.005317/1.106, allocations: 3.505 MB / 1.302 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007326/1.107, allocations: 0.4964 MB / 1.303 GB, free: 1.945 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/1.107, allocations: 291 kB / 1.303 GB, free: 1.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/1.108, allocations: 105.5 kB / 1.303 GB, free: 1.539 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.108, allocations: 46.94 kB / 1.303 GB, free: 1.484 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/1.108, allocations: 0 / 1.303 GB, free: 1.484 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.003904/1.112, allocations: 1.919 MB / 1.305 GB, free: 15.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/1.112, allocations: 55.84 kB / 1.305 GB, free: 15.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009521/1.113, allocations: 0.7981 MB / 1.306 GB, free: 14.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/1.113, allocations: 37.7 kB / 1.306 GB, free: 14.54 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/1.113, allocations: 487.2 kB / 1.306 GB, free: 14.06 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/1.113, allocations: 169.5 kB / 1.307 GB, free: 13.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/1.113, allocations: 114.2 kB / 1.307 GB, free: 13.78 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.113, allocations: 337.9 kB / 1.307 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/1.114, allocations: 241.2 kB / 1.307 GB, free: 13.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004993/1.114, allocations: 353.2 kB / 1.308 GB, free: 12.82 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.003728/1.118, allocations: 1.534 MB / 1.309 GB, free: 11.24 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.118, allocations: 0 / 1.309 GB, free: 11.24 MB / 1.045 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001457/1.12, allocations: 0.7809 MB / 1.31 GB, free: 10.44 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.12, allocations: 8 kB / 1.31 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.12, allocations: 4 kB / 1.31 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/1.12, allocations: 97.64 kB / 1.31 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/1.121, allocations: 139.8 kB / 1.31 GB, free: 10.19 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/1.124, allocations: 3.3 MB / 1.313 GB, free: 6.609 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009106/1.125, allocations: 27.92 kB / 1.313 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/1.125, allocations: 20 kB / 1.313 GB, free: 6.562 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.0005084/1.125, allocations: 304.5 kB / 1.314 GB, free: 6.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/1.125, allocations: 94.88 kB / 1.314 GB, free: 6.164 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/1.126, allocations: 104.7 kB / 1.314 GB, free: 6.062 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.126, allocations: 8 kB / 1.314 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.126, allocations: 192 / 1.314 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/1.127, allocations: 0.8387 MB / 1.315 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/1.13, allocations: 1.798 MB / 1.316 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.13, allocations: 4 kB / 1.316 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/1.13, allocations: 131.8 kB / 1.317 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/1.13, allocations: 73.08 kB / 1.317 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/1.13, allocations: 12 kB / 1.317 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/1.132, allocations: 1.785 MB / 1.318 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.132, allocations: 4 kB / 1.318 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/1.134, allocations: 1.066 MB / 1.319 GB, free: 15.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/1.134, allocations: 235.8 kB / 1.32 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.134, allocations: 23.98 kB / 1.32 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/1.135, allocations: 25.41 kB / 1.32 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.135, allocations: 51.89 kB / 1.32 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/1.135, allocations: 27.98 kB / 1.32 GB, free: 15.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007842/1.136, allocations: 0.5576 MB / 1.32 GB, free: 15.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.136, allocations: 0 / 1.32 GB, free: 15.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009763/1.137, allocations: 284 kB / 1.321 GB, free: 14.75 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.0004901/1.138, allocations: 201.6 kB / 1.321 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001406/1.139, allocations: 0.7962 MB / 1.322 GB, free: 13.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.139, allocations: 3.906 kB / 1.322 GB, free: 13.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006043/1.14, allocations: 412.4 kB / 1.322 GB, free: 13.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/1.143, allocations: 0.6083 MB / 1.323 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/1.146, allocations: 1.853 MB / 1.324 GB, free: 10.78 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.147, allocations: 1.084 MB / 1.325 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/1.147, allocations: 71.44 kB / 1.325 GB, free: 9.598 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/1.147, allocations: 0 / 1.325 GB, free: 9.598 MB / 1.061 GB Notification: Performance of Templates: time 0.02949/1.176, allocations: 21.99 MB / 1.347 GB, free: 3.738 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