Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002451/0.002451, allocations: 215.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.646/1.646, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.502/3.502, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 67.55 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.435, allocations: 176.1 MB / 1.326 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2526/0.6876, allocations: 168.6 MB / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.7007, allocations: 5.446 MB / 1.495 GB, free: 3.148 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.7028, allocations: 55.56 kB / 1.496 GB, free: 3.094 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.7048, allocations: 0.5513 MB / 1.496 GB, free: 2.539 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007004/0.7118, allocations: 1.929 MB / 1.498 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.7159, allocations: 1.219 MB / 1.499 GB, free: 15.39 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005825/0.7217, allocations: 3.002 MB / 1.502 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00159/0.7233, allocations: 0.7319 MB / 1.503 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.7267, allocations: 1.327 MB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.7293, allocations: 0.9259 MB / 1.505 GB, free: 9.383 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.7296, allocations: 108 kB / 1.505 GB, free: 9.277 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.7331, allocations: 1.184 MB / 1.506 GB, free: 8.09 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006365/0.7338, allocations: 470.6 kB / 1.507 GB, free: 7.629 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008372/0.7346, allocations: 0.5524 MB / 1.507 GB, free: 7.074 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.7385, allocations: 2.102 MB / 1.509 GB, free: 4.965 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.7385, allocations: 7.938 kB / 1.509 GB, free: 4.957 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7385, allocations: 0 / 1.509 GB, free: 4.957 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.7385, allocations: 0 / 1.509 GB, free: 4.957 MB / 1.201 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.003021/0.7416, allocations: 1.477 MB / 1.511 GB, free: 3.441 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7416, allocations: 8.031 kB / 1.511 GB, free: 3.434 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.7436, allocations: 331 kB / 1.511 GB, free: 3.109 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.7454, allocations: 0.776 MB / 1.512 GB, free: 2.305 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.7455, allocations: 66 kB / 1.512 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.7457, allocations: 80 kB / 1.512 GB, free: 2.164 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.7478, allocations: 1.361 MB / 1.513 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.7479, allocations: 3.938 kB / 1.513 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.748, allocations: 40 kB / 1.513 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/0.748, allocations: 30 kB / 1.513 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.7497, allocations: 0.8237 MB / 1.514 GB, free: 15.79 MB / 1.217 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.005571/0.7553, allocations: 2.383 MB / 1.516 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008844/0.7562, allocations: 484.3 kB / 1.517 GB, free: 12.88 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.7567, allocations: 274 kB / 1.517 GB, free: 12.6 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.7568, allocations: 20.42 kB / 1.517 GB, free: 12.58 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.7569, allocations: 47 kB / 1.517 GB, free: 12.53 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.766e-06/0.7569, allocations: 0 / 1.517 GB, free: 12.53 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.00431/0.7612, allocations: 1.698 MB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.7613, allocations: 63.83 kB / 1.519 GB, free: 10.71 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/0.7622, allocations: 0.6449 MB / 1.52 GB, free: 10.06 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.7623, allocations: 37.7 kB / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.7628, allocations: 496 kB / 1.52 GB, free: 9.527 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.763, allocations: 178.5 kB / 1.52 GB, free: 9.352 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.7632, allocations: 118.2 kB / 1.52 GB, free: 9.23 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.7634, allocations: 382.7 kB / 1.521 GB, free: 8.848 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.7639, allocations: 245.2 kB / 1.521 GB, free: 8.609 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006229/0.7645, allocations: 400.6 kB / 1.521 GB, free: 8.168 MB / 1.217 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.004146/0.7686, allocations: 1.452 MB / 1.523 GB, free: 6.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7686, allocations: 4 kB / 1.523 GB, free: 6.676 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001508/0.7701, allocations: 0.7641 MB / 1.524 GB, free: 5.902 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.7702, allocations: 8 kB / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.7702, allocations: 0 / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/0.7705, allocations: 105.9 kB / 1.524 GB, free: 5.785 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.7712, allocations: 139.9 kB / 1.524 GB, free: 5.648 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/0.7749, allocations: 3.036 MB / 1.527 GB, free: 2.406 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.7757, allocations: 28.12 kB / 1.527 GB, free: 2.379 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.7757, allocations: 28 kB / 1.527 GB, free: 2.352 MB / 1.217 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.000645/0.7764, allocations: 309.5 kB / 1.527 GB, free: 2.039 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.7765, allocations: 83.53 kB / 1.527 GB, free: 1.957 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.7767, allocations: 91.28 kB / 1.527 GB, free: 1.863 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7767, allocations: 4 kB / 1.527 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7767, allocations: 0 / 1.527 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/0.7781, allocations: 0.8427 MB / 1.528 GB, free: 0.9258 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.7817, allocations: 1.533 MB / 1.53 GB, free: 15.31 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7817, allocations: 3.938 kB / 1.53 GB, free: 15.3 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/0.7824, allocations: 132.2 kB / 1.53 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.7826, allocations: 64.81 kB / 1.53 GB, free: 15.11 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.7828, allocations: 19.98 kB / 1.53 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/0.785, allocations: 1.652 MB / 1.531 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.785, allocations: 7.938 kB / 1.531 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.7869, allocations: 1.054 MB / 1.532 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.7874, allocations: 155.4 kB / 1.533 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.7876, allocations: 15.98 kB / 1.533 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006917/0.7882, allocations: 30.41 kB / 1.533 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.7884, allocations: 51.8 kB / 1.533 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.7885, allocations: 27.98 kB / 1.533 GB, free: 11.95 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008079/0.7893, allocations: 451 kB / 1.533 GB, free: 11.52 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7893, allocations: 3.938 kB / 1.533 GB, free: 11.51 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001159/0.7904, allocations: 283.9 kB / 1.533 GB, free: 11.23 MB / 1.232 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.0004769/0.7909, allocations: 178 kB / 1.534 GB, free: 11.05 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.7926, allocations: 0.7805 MB / 1.534 GB, free: 10.24 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/0.7927, allocations: 7.938 kB / 1.534 GB, free: 10.23 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.000742/0.7934, allocations: 402.2 kB / 1.535 GB, free: 9.824 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.796, allocations: 0.4929 MB / 1.535 GB, free: 9.344 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/0.8005, allocations: 1.815 MB / 1.537 GB, free: 7.453 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/0.8015, allocations: 0.4923 MB / 1.538 GB, free: 6.93 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00104/0.8025, allocations: 186.3 kB / 1.538 GB, free: 6.742 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.8027, allocations: 55.44 kB / 1.538 GB, free: 6.688 MB / 1.232 GB Notification: Performance of SimCode: time 1.583e-06/0.8028, allocations: 0 / 1.538 GB, free: 6.688 MB / 1.232 GB Notification: Performance of Templates: time 0.04132/0.8441, allocations: 19.85 MB / 1.557 GB, free: 3.281 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.140876460820436]